@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionCredentials extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
SessionCredentials() |
| Modifier and Type | Method and Description |
|---|---|
SessionCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKeyId() |
Date |
getExpiration() |
String |
getSecretAccessKey() |
String |
getSessionToken() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccessKeyId(String accessKeyId) |
void |
setExpiration(Date expiration) |
void |
setSecretAccessKey(String secretAccessKey) |
void |
setSessionToken(String sessionToken) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SessionCredentials |
withAccessKeyId(String accessKeyId) |
SessionCredentials |
withExpiration(Date expiration) |
SessionCredentials |
withSecretAccessKey(String secretAccessKey) |
SessionCredentials |
withSessionToken(String sessionToken) |
public void setAccessKeyId(String accessKeyId)
accessKeyId - public String getAccessKeyId()
public SessionCredentials withAccessKeyId(String accessKeyId)
accessKeyId - public void setSecretAccessKey(String secretAccessKey)
secretAccessKey - public String getSecretAccessKey()
public SessionCredentials withSecretAccessKey(String secretAccessKey)
secretAccessKey - public void setSessionToken(String sessionToken)
sessionToken - public String getSessionToken()
public SessionCredentials withSessionToken(String sessionToken)
sessionToken - public void setExpiration(Date expiration)
expiration - public Date getExpiration()
public SessionCredentials withExpiration(Date expiration)
expiration - public String toString()
toString in class ObjectObject.toString()public SessionCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.