@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Location in Amazon Simple Storage Service (Amazon S3) where build or script files are stored for access by Amazon GameLift. This location is specified in CreateBuild, CreateScript, and UpdateScript requests.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
Amazon S3 bucket identifier.
|
String |
getKey()
Name of the zip file containing the build files or script files.
|
String |
getObjectVersion()
Version of the file, if object versioning is turned on for the bucket.
|
String |
getRoleArn()
Amazon Resource Name (ARN) for
an IAM role that allows Amazon GameLift to access the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
Amazon S3 bucket identifier.
|
void |
setKey(String key)
Name of the zip file containing the build files or script files.
|
void |
setObjectVersion(String objectVersion)
Version of the file, if object versioning is turned on for the bucket.
|
void |
setRoleArn(String roleArn)
Amazon Resource Name (ARN) for
an IAM role that allows Amazon GameLift to access the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
Amazon S3 bucket identifier.
|
S3Location |
withKey(String key)
Name of the zip file containing the build files or script files.
|
S3Location |
withObjectVersion(String objectVersion)
Version of the file, if object versioning is turned on for the bucket.
|
S3Location |
withRoleArn(String roleArn)
Amazon Resource Name (ARN) for
an IAM role that allows Amazon GameLift to access the S3 bucket.
|
public void setBucket(String bucket)
Amazon S3 bucket identifier. This is the name of the S3 bucket.
bucket
- Amazon S3 bucket identifier. This is the name of the S3 bucket.public String getBucket()
Amazon S3 bucket identifier. This is the name of the S3 bucket.
public S3Location withBucket(String bucket)
Amazon S3 bucket identifier. This is the name of the S3 bucket.
bucket
- Amazon S3 bucket identifier. This is the name of the S3 bucket.public void setKey(String key)
Name of the zip file containing the build files or script files.
key
- Name of the zip file containing the build files or script files.public String getKey()
Name of the zip file containing the build files or script files.
public S3Location withKey(String key)
Name of the zip file containing the build files or script files.
key
- Name of the zip file containing the build files or script files.public void setRoleArn(String roleArn)
Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
roleArn
- Amazon Resource Name (ARN) for an IAM role that
allows Amazon GameLift to access the S3 bucket.public String getRoleArn()
Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
public S3Location withRoleArn(String roleArn)
Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
roleArn
- Amazon Resource Name (ARN) for an IAM role that
allows Amazon GameLift to access the S3 bucket.public void setObjectVersion(String objectVersion)
Version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file; if not set, the latest version of the file is retrieved.
objectVersion
- Version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this
information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific
version of the file; if not set, the latest version of the file is retrieved.public String getObjectVersion()
Version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file; if not set, the latest version of the file is retrieved.
public S3Location withObjectVersion(String objectVersion)
Version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file; if not set, the latest version of the file is retrieved.
objectVersion
- Version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this
information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific
version of the file; if not set, the latest version of the file is retrieved.public String toString()
toString
in class Object
Object.toString()
public S3Location 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.