Interface GetCredentialsResponse.Builder

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

  • Method Details

    • dbPassword

      GetCredentialsResponse.Builder dbPassword(String 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.
    • 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 privileges as the the user named in DbUser. By default, the user is added to PUBLIC.

      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 privileges as the the user named in DbUser. By default, the user is added to PUBLIC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiration

      GetCredentialsResponse.Builder expiration(Instant 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.
    • nextRefreshTime

      GetCredentialsResponse.Builder nextRefreshTime(Instant nextRefreshTime)

      The date and time of when the DbUser and DbPassword authorization refreshes.

      Parameters:
      nextRefreshTime - The date and time of when the DbUser and DbPassword authorization refreshes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.