@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The credentials required to access the external Dataview from the S3 location.
Constructor and Description |
---|
AwsCredentials() |
Modifier and Type | Method and Description |
---|---|
AwsCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKeyId()
The unique identifier for the security credentials.
|
Long |
getExpiration()
The Epoch time when the current credentials expire.
|
String |
getSecretAccessKey()
The secret access key that can be used to sign requests.
|
String |
getSessionToken()
The token that users must pass to use the credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessKeyId(String accessKeyId)
The unique identifier for the security credentials.
|
void |
setExpiration(Long expiration)
The Epoch time when the current credentials expire.
|
void |
setSecretAccessKey(String secretAccessKey)
The secret access key that can be used to sign requests.
|
void |
setSessionToken(String sessionToken)
The token that users must pass to use the credentials.
|
String |
toString()
Returns a string representation of this object.
|
AwsCredentials |
withAccessKeyId(String accessKeyId)
The unique identifier for the security credentials.
|
AwsCredentials |
withExpiration(Long expiration)
The Epoch time when the current credentials expire.
|
AwsCredentials |
withSecretAccessKey(String secretAccessKey)
The secret access key that can be used to sign requests.
|
AwsCredentials |
withSessionToken(String sessionToken)
The token that users must pass to use the credentials.
|
public void setAccessKeyId(String accessKeyId)
The unique identifier for the security credentials.
accessKeyId
- The unique identifier for the security credentials.public String getAccessKeyId()
The unique identifier for the security credentials.
public AwsCredentials withAccessKeyId(String accessKeyId)
The unique identifier for the security credentials.
accessKeyId
- The unique identifier for the security credentials.public void setSecretAccessKey(String secretAccessKey)
The secret access key that can be used to sign requests.
secretAccessKey
- The secret access key that can be used to sign requests.public String getSecretAccessKey()
The secret access key that can be used to sign requests.
public AwsCredentials withSecretAccessKey(String secretAccessKey)
The secret access key that can be used to sign requests.
secretAccessKey
- The secret access key that can be used to sign requests.public void setSessionToken(String sessionToken)
The token that users must pass to use the credentials.
sessionToken
- The token that users must pass to use the credentials.public String getSessionToken()
The token that users must pass to use the credentials.
public AwsCredentials withSessionToken(String sessionToken)
The token that users must pass to use the credentials.
sessionToken
- The token that users must pass to use the credentials.public void setExpiration(Long expiration)
The Epoch time when the current credentials expire.
expiration
- The Epoch time when the current credentials expire.public Long getExpiration()
The Epoch time when the current credentials expire.
public AwsCredentials withExpiration(Long expiration)
The Epoch time when the current credentials expire.
expiration
- The Epoch time when the current credentials expire.public String toString()
toString
in class Object
Object.toString()
public AwsCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.