public static final class CfnBuild.S3LocationProperty.Builder
extends java.lang.Object
CfnBuild.S3LocationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBuild.S3LocationProperty.Builder |
bucket(java.lang.String bucket)
Sets the value of
CfnBuild.S3LocationProperty.getBucket() |
CfnBuild.S3LocationProperty |
build()
Builds the configured instance.
|
CfnBuild.S3LocationProperty.Builder |
key(java.lang.String key)
Sets the value of
CfnBuild.S3LocationProperty.getKey() |
CfnBuild.S3LocationProperty.Builder |
objectVersion(java.lang.String objectVersion)
Sets the value of
CfnBuild.S3LocationProperty.getObjectVersion() |
CfnBuild.S3LocationProperty.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnBuild.S3LocationProperty.getRoleArn() |
public CfnBuild.S3LocationProperty.Builder bucket(java.lang.String bucket)
CfnBuild.S3LocationProperty.getBucket()
bucket
- An Amazon S3 bucket identifier. This is the name of the S3 bucket. This parameter is required.
GameLift currently does not support uploading from Amazon S3 buckets with names that contain a dot (.).
this
public CfnBuild.S3LocationProperty.Builder key(java.lang.String key)
CfnBuild.S3LocationProperty.getKey()
key
- The name of the zip file that contains the build files or script files. This parameter is required.this
public CfnBuild.S3LocationProperty.Builder roleArn(java.lang.String roleArn)
CfnBuild.S3LocationProperty.getRoleArn()
roleArn
- The Amazon Resource Name ( [ARN](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) ) for an IAM role that allows Amazon GameLift to access the S3 bucket. This parameter is required.this
public CfnBuild.S3LocationProperty.Builder objectVersion(java.lang.String objectVersion)
CfnBuild.S3LocationProperty.getObjectVersion()
objectVersion
- The version of the file, if object versioning is turned on for the bucket.
Amazon GameLift uses this information when retrieving files from your S3 bucket. To retrieve a specific version of the file, provide an object version. To retrieve the latest version of the file, do not set this parameter.this
public CfnBuild.S3LocationProperty build()
CfnBuild.S3LocationProperty
java.lang.NullPointerException
- if any required attribute was not provided