public class S3Location extends Object implements Serializable, Cloneable
Location in Amazon Simple Storage Service (Amazon S3) where a build's files are stored. This location is assigned in response to a CreateBuild call, and is always in the same region as the service used to create the build. For more details see the Amazon S3 documentation.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
Amazon S3 bucket identifier.
|
String |
getKey()
Amazon S3 bucket key.
|
String |
getRoleArn()
Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.
|
int |
hashCode() |
void |
setBucket(String bucket)
Amazon S3 bucket identifier.
|
void |
setKey(String key)
Amazon S3 bucket key.
|
void |
setRoleArn(String roleArn)
Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3Location |
withBucket(String bucket)
Amazon S3 bucket identifier.
|
S3Location |
withKey(String key)
Amazon S3 bucket key.
|
S3Location |
withRoleArn(String roleArn)
Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.
|
public void setBucket(String bucket)
Amazon S3 bucket identifier.
bucket
- Amazon S3 bucket identifier.public String getBucket()
Amazon S3 bucket identifier.
public S3Location withBucket(String bucket)
Amazon S3 bucket identifier.
bucket
- Amazon S3 bucket identifier.public void setKey(String key)
Amazon S3 bucket key.
key
- Amazon S3 bucket key.public String getKey()
Amazon S3 bucket key.
public S3Location withKey(String key)
Amazon S3 bucket key.
key
- Amazon S3 bucket key.public void setRoleArn(String roleArn)
Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.
roleArn
- Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.public String getRoleArn()
Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.
public S3Location withRoleArn(String roleArn)
Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.
roleArn
- Amazon resource number for the cross-account access role that allows GameLift access to the S3 bucket.public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.