Class GameliftScriptStorageLocation.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.gamelift_script.GameliftScriptStorageLocation.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameliftScriptStorageLocation>
- Enclosing interface:
- GameliftScriptStorageLocation
@Stability(Stable) public static final class GameliftScriptStorageLocation.Builder extends Object implements software.amazon.jsii.Builder<GameliftScriptStorageLocation>
A builder forGameliftScriptStorageLocation
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameliftScriptStorageLocation.Builderbucket(String bucket)Sets the value ofGameliftScriptStorageLocation.getBucket()GameliftScriptStorageLocationbuild()Builds the configured instance.GameliftScriptStorageLocation.Builderkey(String key)Sets the value ofGameliftScriptStorageLocation.getKey()GameliftScriptStorageLocation.BuilderobjectVersion(String objectVersion)Sets the value ofGameliftScriptStorageLocation.getObjectVersion()GameliftScriptStorageLocation.BuilderroleArn(String roleArn)Sets the value ofGameliftScriptStorageLocation.getRoleArn()
-
-
-
Method Detail
-
bucket
@Stability(Stable) public GameliftScriptStorageLocation.Builder bucket(String bucket)
Sets the value ofGameliftScriptStorageLocation.getBucket()- Parameters:
bucket- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_script#bucket GameliftScript#bucket}. This parameter is required.- Returns:
this
-
key
@Stability(Stable) public GameliftScriptStorageLocation.Builder key(String key)
Sets the value ofGameliftScriptStorageLocation.getKey()- Parameters:
key- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_script#key GameliftScript#key}. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public GameliftScriptStorageLocation.Builder roleArn(String roleArn)
Sets the value ofGameliftScriptStorageLocation.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_script#role_arn GameliftScript#role_arn}. This parameter is required.- Returns:
this
-
objectVersion
@Stability(Stable) public GameliftScriptStorageLocation.Builder objectVersion(String objectVersion)
Sets the value ofGameliftScriptStorageLocation.getObjectVersion()- Parameters:
objectVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_script#object_version GameliftScript#object_version}.- Returns:
this
-
build
@Stability(Stable) public GameliftScriptStorageLocation build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GameliftScriptStorageLocation>- Returns:
- a new instance of
GameliftScriptStorageLocation - Throws:
NullPointerException- if any required attribute was not provided
-
-