public class Credentials
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Credentials() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessKeyId()
Returns the value of the AccessKeyId property for this object.
|
java.util.Date |
getExpiration()
Returns the value of the Expiration property for this object.
|
java.lang.String |
getSecretKey()
Returns the value of the SecretKey property for this object.
|
java.lang.String |
getSessionToken()
Returns the value of the SessionToken property for this object.
|
int |
hashCode() |
void |
setAccessKeyId(java.lang.String accessKeyId)
Sets the value of the AccessKeyId property for this object.
|
void |
setExpiration(java.util.Date expiration)
Sets the value of the Expiration property for this object.
|
void |
setSecretKey(java.lang.String secretKey)
Sets the value of the SecretKey property for this object.
|
void |
setSessionToken(java.lang.String sessionToken)
Sets the value of the SessionToken property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Credentials |
withAccessKeyId(java.lang.String accessKeyId)
Sets the value of the AccessKeyId property for this object.
|
Credentials |
withExpiration(java.util.Date expiration)
Sets the value of the Expiration property for this object.
|
Credentials |
withSecretKey(java.lang.String secretKey)
Sets the value of the SecretKey property for this object.
|
Credentials |
withSessionToken(java.lang.String sessionToken)
Sets the value of the SessionToken property for this object.
|
public java.lang.String getAccessKeyId()
public void setAccessKeyId(java.lang.String accessKeyId)
accessKeyId - The new value for the AccessKeyId property for this object.public Credentials withAccessKeyId(java.lang.String accessKeyId)
Returns a reference to this object so that method calls can be chained together.
accessKeyId - The new value for the AccessKeyId property for this object.public java.lang.String getSecretKey()
public void setSecretKey(java.lang.String secretKey)
secretKey - The new value for the SecretKey property for this object.public Credentials withSecretKey(java.lang.String secretKey)
Returns a reference to this object so that method calls can be chained together.
secretKey - The new value for the SecretKey property for this object.public java.lang.String getSessionToken()
public void setSessionToken(java.lang.String sessionToken)
sessionToken - The new value for the SessionToken property for this object.public Credentials withSessionToken(java.lang.String sessionToken)
Returns a reference to this object so that method calls can be chained together.
sessionToken - The new value for the SessionToken property for this object.public java.util.Date getExpiration()
public void setExpiration(java.util.Date expiration)
expiration - The new value for the Expiration property for this object.public Credentials withExpiration(java.util.Date expiration)
Returns a reference to this object so that method calls can be chained together.
expiration - The new value for the Expiration property for this object.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object