@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetClusterSessionCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetClusterSessionCredentialsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetClusterSessionCredentialsResult | clone() | 
| boolean | equals(Object obj) | 
| Credentials | getCredentials()
 The credentials that you can use to connect to cluster endpoints that support username and password
 authentication. | 
| Date | getExpiresAt()
 The time when the credentials that are returned by the  GetClusterSessionCredentialsAPI expire. | 
| int | hashCode() | 
| void | setCredentials(Credentials credentials)
 The credentials that you can use to connect to cluster endpoints that support username and password
 authentication. | 
| void | setExpiresAt(Date expiresAt)
 The time when the credentials that are returned by the  GetClusterSessionCredentialsAPI expire. | 
| String | toString()Returns a string representation of this object. | 
| GetClusterSessionCredentialsResult | withCredentials(Credentials credentials)
 The credentials that you can use to connect to cluster endpoints that support username and password
 authentication. | 
| GetClusterSessionCredentialsResult | withExpiresAt(Date expiresAt)
 The time when the credentials that are returned by the  GetClusterSessionCredentialsAPI expire. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCredentials(Credentials credentials)
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
credentials - The credentials that you can use to connect to cluster endpoints that support username and password
        authentication.public Credentials getCredentials()
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
public GetClusterSessionCredentialsResult withCredentials(Credentials credentials)
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
credentials - The credentials that you can use to connect to cluster endpoints that support username and password
        authentication.public void setExpiresAt(Date expiresAt)
 The time when the credentials that are returned by the GetClusterSessionCredentials API expire.
 
expiresAt - The time when the credentials that are returned by the GetClusterSessionCredentials API
        expire.public Date getExpiresAt()
 The time when the credentials that are returned by the GetClusterSessionCredentials API expire.
 
GetClusterSessionCredentials API
         expire.public GetClusterSessionCredentialsResult withExpiresAt(Date expiresAt)
 The time when the credentials that are returned by the GetClusterSessionCredentials API expire.
 
expiresAt - The time when the credentials that are returned by the GetClusterSessionCredentials API
        expire.public String toString()
toString in class ObjectObject.toString()public GetClusterSessionCredentialsResult clone()