@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
The location in Amazon S3 where build or script files are stored for access by Amazon GameLift.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
An Amazon S3 bucket identifier.
|
String |
getKey()
The name of the zip file that contains the build files or script files.
|
String |
getObjectVersion()
The version of the file, if object versioning is turned on for the bucket.
|
String |
getRoleArn()
The 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)
An Amazon S3 bucket identifier.
|
void |
setKey(String key)
The name of the zip file that contains the build files or script files.
|
void |
setObjectVersion(String objectVersion)
The version of the file, if object versioning is turned on for the bucket.
|
void |
setRoleArn(String roleArn)
The 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)
An Amazon S3 bucket identifier.
|
S3Location |
withKey(String key)
The name of the zip file that contains the build files or script files.
|
S3Location |
withObjectVersion(String objectVersion)
The version of the file, if object versioning is turned on for the bucket.
|
S3Location |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN)
for an IAM role that allows Amazon GameLift to access the S3 bucket.
|
public void setBucket(String bucket)
An Amazon S3 bucket identifier. Thename of the S3 bucket.
Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
bucket
- An Amazon S3 bucket identifier. Thename of the S3 bucket. Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
public String getBucket()
An Amazon S3 bucket identifier. Thename of the S3 bucket.
Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
public S3Location withBucket(String bucket)
An Amazon S3 bucket identifier. Thename of the S3 bucket.
Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
bucket
- An Amazon S3 bucket identifier. Thename of the S3 bucket. Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
public void setKey(String key)
The name of the zip file that contains the build files or script files.
key
- The name of the zip file that contains the build files or script files.public String getKey()
The name of the zip file that contains the build files or script files.
public S3Location withKey(String key)
The name of the zip file that contains the build files or script files.
key
- The name of the zip file that contains the build files or script files.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
roleArn
- The Amazon Resource Name (ARN) for an IAM role that
allows Amazon GameLift to access the S3 bucket.public String getRoleArn()
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
public S3Location withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
roleArn
- The Amazon Resource Name (ARN) for an IAM role that
allows Amazon GameLift to access the S3 bucket.public void setObjectVersion(String objectVersion)
The 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
- The 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()
The 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)
The 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
- The 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.