Interface GetClusterCredentialsWithIamRequest.Builder

    • Method Detail

      • dbName

        GetClusterCredentialsWithIamRequest.Builder dbName​(String dbName)

        The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.

        Parameters:
        dbName - The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterIdentifier

        GetClusterCredentialsWithIamRequest.Builder clusterIdentifier​(String clusterIdentifier)

        The unique identifier of the cluster that contains the database for which you are requesting credentials.

        Parameters:
        clusterIdentifier - The unique identifier of the cluster that contains the database for which you are requesting credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationSeconds

        GetClusterCredentialsWithIamRequest.Builder durationSeconds​(Integer durationSeconds)

        The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

        Parameters:
        durationSeconds - The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDomainName

        GetClusterCredentialsWithIamRequest.Builder customDomainName​(String customDomainName)

        The custom domain name for the IAM message cluster credentials.

        Parameters:
        customDomainName - The custom domain name for the IAM message cluster credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.