Class CfnBuild.StorageLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnBuild.StorageLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBuild.StorageLocationProperty>
- Enclosing interface:
- CfnBuild.StorageLocationProperty
@Stability(Stable)
public static final class CfnBuild.StorageLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBuild.StorageLocationProperty>
A builder for
CfnBuild.StorageLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBuild.StorageLocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnBuild.StorageLocationProperty.getKey()objectVersion(String objectVersion) Sets the value ofCfnBuild.StorageLocationProperty.getObjectVersion()Sets the value ofCfnBuild.StorageLocationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnBuild.StorageLocationProperty.getBucket()- Parameters:
bucket-CfnBuild.StorageLocationProperty.Bucket. This parameter is required.- Returns:
this
-
key
Sets the value ofCfnBuild.StorageLocationProperty.getKey()- Parameters:
key-CfnBuild.StorageLocationProperty.Key. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnBuild.StorageLocationProperty.getRoleArn()- Parameters:
roleArn-CfnBuild.StorageLocationProperty.RoleArn. This parameter is required.- Returns:
this
-
objectVersion
@Stability(Stable) public CfnBuild.StorageLocationProperty.Builder objectVersion(String objectVersion) Sets the value ofCfnBuild.StorageLocationProperty.getObjectVersion()- Parameters:
objectVersion-CfnBuild.StorageLocationProperty.ObjectVersion.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBuild.StorageLocationProperty>- Returns:
- a new instance of
CfnBuild.StorageLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-