@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Credentials extends Object implements Serializable, Cloneable, StructuredPojo
Temporary access credentials used for uploading game build files to Amazon GameLift. They are valid for a limited time. If they expire before you upload your game build, get a new set by calling RequestUploadCredentials.
Constructor and Description |
---|
Credentials() |
Modifier and Type | Method and Description |
---|---|
Credentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKeyId()
Temporary key allowing access to the Amazon GameLift S3 account.
|
String |
getSecretAccessKey()
Temporary secret key allowing access to the Amazon GameLift S3 account.
|
String |
getSessionToken()
Token used to associate a specific build ID with the files uploaded using these credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessKeyId(String accessKeyId)
Temporary key allowing access to the Amazon GameLift S3 account.
|
void |
setSecretAccessKey(String secretAccessKey)
Temporary secret key allowing access to the Amazon GameLift S3 account.
|
void |
setSessionToken(String sessionToken)
Token used to associate a specific build ID with the files uploaded using these credentials.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Credentials |
withAccessKeyId(String accessKeyId)
Temporary key allowing access to the Amazon GameLift S3 account.
|
Credentials |
withSecretAccessKey(String secretAccessKey)
Temporary secret key allowing access to the Amazon GameLift S3 account.
|
Credentials |
withSessionToken(String sessionToken)
Token used to associate a specific build ID with the files uploaded using these credentials.
|
public void setAccessKeyId(String accessKeyId)
Temporary key allowing access to the Amazon GameLift S3 account.
accessKeyId
- Temporary key allowing access to the Amazon GameLift S3 account.public String getAccessKeyId()
Temporary key allowing access to the Amazon GameLift S3 account.
public Credentials withAccessKeyId(String accessKeyId)
Temporary key allowing access to the Amazon GameLift S3 account.
accessKeyId
- Temporary key allowing access to the Amazon GameLift S3 account.public void setSecretAccessKey(String secretAccessKey)
Temporary secret key allowing access to the Amazon GameLift S3 account.
secretAccessKey
- Temporary secret key allowing access to the Amazon GameLift S3 account.public String getSecretAccessKey()
Temporary secret key allowing access to the Amazon GameLift S3 account.
public Credentials withSecretAccessKey(String secretAccessKey)
Temporary secret key allowing access to the Amazon GameLift S3 account.
secretAccessKey
- Temporary secret key allowing access to the Amazon GameLift S3 account.public void setSessionToken(String sessionToken)
Token used to associate a specific build ID with the files uploaded using these credentials.
sessionToken
- Token used to associate a specific build ID with the files uploaded using these credentials.public String getSessionToken()
Token used to associate a specific build ID with the files uploaded using these credentials.
public Credentials withSessionToken(String sessionToken)
Token used to associate a specific build ID with the files uploaded using these credentials.
sessionToken
- Token used to associate a specific build ID with the files uploaded using these credentials.public String toString()
toString
in class Object
Object.toString()
public Credentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.