Class Credentials
java.lang.Object
com.amazonaws.services.gamelift.model.Credentials
- All Implemented Interfaces:
Serializable
,Cloneable
AWS access credentials required to upload game build files to Amazon GameLift. These credentials are generated with CreateBuild, and are valid for a limited time. If they expire before you upload your game build, get a new set by calling RequestUploadCredentials.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Access key for an AWS account.Secret key for an AWS account.Token specific to a build ID.int
hashCode()
void
setAccessKeyId
(String accessKeyId) Access key for an AWS account.void
setSecretAccessKey
(String secretAccessKey) Secret key for an AWS account.void
setSessionToken
(String sessionToken) Token specific to a build ID.toString()
Returns a string representation of this object; useful for testing and debugging.withAccessKeyId
(String accessKeyId) Access key for an AWS account.withSecretAccessKey
(String secretAccessKey) Secret key for an AWS account.withSessionToken
(String sessionToken) Token specific to a build ID.
-
Constructor Details
-
Credentials
public Credentials()
-
-
Method Details
-
setAccessKeyId
Access key for an AWS account.
- Parameters:
accessKeyId
- Access key for an AWS account.
-
getAccessKeyId
Access key for an AWS account.
- Returns:
- Access key for an AWS account.
-
withAccessKeyId
Access key for an AWS account.
- Parameters:
accessKeyId
- Access key for an AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretAccessKey
Secret key for an AWS account.
- Parameters:
secretAccessKey
- Secret key for an AWS account.
-
getSecretAccessKey
Secret key for an AWS account.
- Returns:
- Secret key for an AWS account.
-
withSecretAccessKey
Secret key for an AWS account.
- Parameters:
secretAccessKey
- Secret key for an AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSessionToken
Token specific to a build ID.
- Parameters:
sessionToken
- Token specific to a build ID.
-
getSessionToken
Token specific to a build ID.
- Returns:
- Token specific to a build ID.
-
withSessionToken
Token specific to a build ID.
- Parameters:
sessionToken
- Token specific to a build ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-