@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetClusterCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Temporary credentials with authorization to log on to an Amazon Redshift database.
| Constructor and Description | 
|---|
| GetClusterCredentialsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetClusterCredentialsResult | clone() | 
| boolean | equals(Object obj) | 
| String | getDbPassword()
 A temporary password that authorizes the user name returned by  DbUserto log on to the databaseDbName. | 
| String | getDbUser()
 A database user name that is authorized to log on to the database  DbNameusing the passwordDbPassword. | 
| Date | getExpiration()
 The date and time the password in  DbPasswordexpires. | 
| int | hashCode() | 
| void | setDbPassword(String dbPassword)
 A temporary password that authorizes the user name returned by  DbUserto log on to the databaseDbName. | 
| void | setDbUser(String dbUser)
 A database user name that is authorized to log on to the database  DbNameusing the passwordDbPassword. | 
| void | setExpiration(Date expiration)
 The date and time the password in  DbPasswordexpires. | 
| String | toString()Returns a string representation of this object. | 
| GetClusterCredentialsResult | withDbPassword(String dbPassword)
 A temporary password that authorizes the user name returned by  DbUserto log on to the databaseDbName. | 
| GetClusterCredentialsResult | withDbUser(String dbUser)
 A database user name that is authorized to log on to the database  DbNameusing the passwordDbPassword. | 
| GetClusterCredentialsResult | withExpiration(Date expiration)
 The date and time the password in  DbPasswordexpires. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDbUser(String 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. If the DbGroups
 parameter is specifed, DbUser is added to the listed groups for any sessions created using these
 credentials.
 
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. If the
        DbGroups parameter is specifed, DbUser is added to the listed groups for any
        sessions created using these credentials.public String getDbUser()
 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. If the DbGroups
 parameter is specifed, DbUser is added to the listed groups for any sessions created using these
 credentials.
 
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. If the
         DbGroups parameter is specifed, DbUser is added to the listed groups for any
         sessions created using these credentials.public GetClusterCredentialsResult withDbUser(String 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. If the DbGroups
 parameter is specifed, DbUser is added to the listed groups for any sessions created using these
 credentials.
 
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. If the
        DbGroups parameter is specifed, DbUser is added to the listed groups for any
        sessions created using these credentials.public void setDbPassword(String dbPassword)
 A temporary password that authorizes the user name returned by DbUser to log on to the database
 DbName.
 
dbPassword - A temporary password that authorizes the user name returned by DbUser to log on to the
        database DbName.public String getDbPassword()
 A temporary password that authorizes the user name returned by DbUser to log on to the database
 DbName.
 
DbUser to log on to the
         database DbName.public GetClusterCredentialsResult withDbPassword(String dbPassword)
 A temporary password that authorizes the user name returned by DbUser to log on to the database
 DbName.
 
dbPassword - A temporary password that authorizes the user name returned by DbUser to log on to the
        database DbName.public void setExpiration(Date expiration)
 The date and time the password in DbPassword expires.
 
expiration - The date and time the password in DbPassword expires.public Date getExpiration()
 The date and time the password in DbPassword expires.
 
DbPassword expires.public GetClusterCredentialsResult withExpiration(Date expiration)
 The date and time the password in DbPassword expires.
 
expiration - The date and time the password in DbPassword expires.public String toString()
toString in class ObjectObject.toString()public GetClusterCredentialsResult clone()