@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEnvironmentCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEnvironmentCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
GetEnvironmentCredentialsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKeyId()
The access key ID of the environment.
|
Date |
getExpiration()
The expiration timestamp of the environment credentials.
|
String |
getSecretAccessKey()
The secret access key of the environment credentials.
|
String |
getSessionToken()
The session token of the environment credentials.
|
int |
hashCode() |
void |
setAccessKeyId(String accessKeyId)
The access key ID of the environment.
|
void |
setExpiration(Date expiration)
The expiration timestamp of the environment credentials.
|
void |
setSecretAccessKey(String secretAccessKey)
The secret access key of the environment credentials.
|
void |
setSessionToken(String sessionToken)
The session token of the environment credentials.
|
String |
toString()
Returns a string representation of this object.
|
GetEnvironmentCredentialsResult |
withAccessKeyId(String accessKeyId)
The access key ID of the environment.
|
GetEnvironmentCredentialsResult |
withExpiration(Date expiration)
The expiration timestamp of the environment credentials.
|
GetEnvironmentCredentialsResult |
withSecretAccessKey(String secretAccessKey)
The secret access key of the environment credentials.
|
GetEnvironmentCredentialsResult |
withSessionToken(String sessionToken)
The session token of the environment credentials.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccessKeyId(String accessKeyId)
The access key ID of the environment.
accessKeyId
- The access key ID of the environment.public String getAccessKeyId()
The access key ID of the environment.
public GetEnvironmentCredentialsResult withAccessKeyId(String accessKeyId)
The access key ID of the environment.
accessKeyId
- The access key ID of the environment.public void setExpiration(Date expiration)
The expiration timestamp of the environment credentials.
expiration
- The expiration timestamp of the environment credentials.public Date getExpiration()
The expiration timestamp of the environment credentials.
public GetEnvironmentCredentialsResult withExpiration(Date expiration)
The expiration timestamp of the environment credentials.
expiration
- The expiration timestamp of the environment credentials.public void setSecretAccessKey(String secretAccessKey)
The secret access key of the environment credentials.
secretAccessKey
- The secret access key of the environment credentials.public String getSecretAccessKey()
The secret access key of the environment credentials.
public GetEnvironmentCredentialsResult withSecretAccessKey(String secretAccessKey)
The secret access key of the environment credentials.
secretAccessKey
- The secret access key of the environment credentials.public void setSessionToken(String sessionToken)
The session token of the environment credentials.
sessionToken
- The session token of the environment credentials.public String getSessionToken()
The session token of the environment credentials.
public GetEnvironmentCredentialsResult withSessionToken(String sessionToken)
The session token of the environment credentials.
sessionToken
- The session token of the environment credentials.public String toString()
toString
in class Object
Object.toString()
public GetEnvironmentCredentialsResult clone()