public class Credentials extends Object implements Serializable
Constructor and Description |
---|
Credentials() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessKeyId()
Returns the value of the AccessKeyId property for this object.
|
Date |
getExpiration()
Returns the value of the Expiration property for this object.
|
String |
getSecretKey()
Returns the value of the SecretKey property for this object.
|
String |
getSessionToken()
Returns the value of the SessionToken property for this object.
|
int |
hashCode() |
void |
setAccessKeyId(String accessKeyId)
Sets the value of the AccessKeyId property for this object.
|
void |
setExpiration(Date expiration)
Sets the value of the Expiration property for this object.
|
void |
setSecretKey(String secretKey)
Sets the value of the SecretKey property for this object.
|
void |
setSessionToken(String sessionToken)
Sets the value of the SessionToken property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Credentials |
withAccessKeyId(String accessKeyId)
Sets the value of the AccessKeyId property for this object.
|
Credentials |
withExpiration(Date expiration)
Sets the value of the Expiration property for this object.
|
Credentials |
withSecretKey(String secretKey)
Sets the value of the SecretKey property for this object.
|
Credentials |
withSessionToken(String sessionToken)
Sets the value of the SessionToken property for this object.
|
public String getAccessKeyId()
public void setAccessKeyId(String accessKeyId)
accessKeyId
- The new value for the AccessKeyId property for this object.public Credentials withAccessKeyId(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 String getSecretKey()
public void setSecretKey(String secretKey)
secretKey
- The new value for the SecretKey property for this object.public Credentials withSecretKey(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 String getSessionToken()
public void setSessionToken(String sessionToken)
sessionToken
- The new value for the SessionToken property for this object.public Credentials withSessionToken(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 Date getExpiration()
public void setExpiration(Date expiration)
expiration
- The new value for the Expiration property for this object.public Credentials withExpiration(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.