@Stability(value=Stable) public static final class CfnBuild.S3LocationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBuild.S3LocationProperty>
CfnBuild.S3LocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBuild.S3LocationProperty.Builder |
bucket(String bucket)
Sets the value of
CfnBuild.S3LocationProperty.getBucket() |
CfnBuild.S3LocationProperty |
build()
Builds the configured instance.
|
CfnBuild.S3LocationProperty.Builder |
key(String key)
Sets the value of
CfnBuild.S3LocationProperty.getKey() |
CfnBuild.S3LocationProperty.Builder |
objectVersion(String objectVersion)
Sets the value of
CfnBuild.S3LocationProperty.getObjectVersion() |
CfnBuild.S3LocationProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnBuild.S3LocationProperty.getRoleArn() |
@Stability(value=Stable) public CfnBuild.S3LocationProperty.Builder bucket(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@Stability(value=Stable) public CfnBuild.S3LocationProperty.Builder key(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@Stability(value=Stable) public CfnBuild.S3LocationProperty.Builder roleArn(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@Stability(value=Stable) public CfnBuild.S3LocationProperty.Builder objectVersion(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@Stability(value=Stable) public CfnBuild.S3LocationProperty build()
build in interface software.amazon.jsii.Builder<CfnBuild.S3LocationProperty>CfnBuild.S3LocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.