Interface GetClusterCredentialsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>, RedshiftResponse.Builder, SdkBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetClusterCredentialsResponse

public static interface GetClusterCredentialsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
  • Method Details

    • dbUser

      A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.

      Parameters:
      dbUser - A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbPassword

      A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

      Parameters:
      dbPassword - A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiration

      The date and time the password in DbPassword expires.

      Parameters:
      expiration - The date and time the password in DbPassword expires.
      Returns:
      Returns a reference to this object so that method calls can be chained together.