Interface GetClusterCredentialsWithIamRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>, RedshiftRequest.Builder, SdkBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetClusterCredentialsWithIamRequest

public static interface GetClusterCredentialsWithIamRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>
  • Method Details

    • 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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.