Class CfnAppBlockBuilderProps.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnAppBlockBuilderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppBlockBuilderProps>
- Enclosing interface:
CfnAppBlockBuilderProps
@Stability(Stable)
public static final class CfnAppBlockBuilderProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppBlockBuilderProps>
A builder for
CfnAppBlockBuilderProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessEndpoints(List<? extends Object> accessEndpoints) Sets the value ofCfnAppBlockBuilderProps.getAccessEndpoints()accessEndpoints(IResolvable accessEndpoints) Sets the value ofCfnAppBlockBuilderProps.getAccessEndpoints()appBlockArns(List<String> appBlockArns) Sets the value ofCfnAppBlockBuilderProps.getAppBlockArns()build()Builds the configured instance.description(String description) Sets the value ofCfnAppBlockBuilderProps.getDescription()displayName(String displayName) Sets the value ofCfnAppBlockBuilderProps.getDisplayName()enableDefaultInternetAccess(Boolean enableDefaultInternetAccess) Sets the value ofCfnAppBlockBuilderProps.getEnableDefaultInternetAccess()enableDefaultInternetAccess(IResolvable enableDefaultInternetAccess) Sets the value ofCfnAppBlockBuilderProps.getEnableDefaultInternetAccess()iamRoleArn(String iamRoleArn) Sets the value ofCfnAppBlockBuilderProps.getIamRoleArn()instanceType(String instanceType) Sets the value ofCfnAppBlockBuilderProps.getInstanceType()Sets the value ofCfnAppBlockBuilderProps.getName()Sets the value ofCfnAppBlockBuilderProps.getPlatform()Sets the value ofCfnAppBlockBuilderProps.getTags()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnAppBlockBuilderProps.getVpcConfig()vpcConfig(CfnAppBlockBuilder.VpcConfigProperty vpcConfig) Sets the value ofCfnAppBlockBuilderProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceType
Sets the value ofCfnAppBlockBuilderProps.getInstanceType()- Parameters:
instanceType- The instance type of the app block builder. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAppBlockBuilderProps.getName()- Parameters:
name- The name of the app block builder. This parameter is required.- Returns:
this
-
platform
Sets the value ofCfnAppBlockBuilderProps.getPlatform()- Parameters:
platform- The platform of the app block builder. This parameter is required. Allowed values :WINDOWS_SERVER_2019- Returns:
this
-
vpcConfig
Sets the value ofCfnAppBlockBuilderProps.getVpcConfig()- Parameters:
vpcConfig- The VPC configuration for the app block builder. This parameter is required.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnAppBlockBuilderProps.Builder vpcConfig(CfnAppBlockBuilder.VpcConfigProperty vpcConfig) Sets the value ofCfnAppBlockBuilderProps.getVpcConfig()- Parameters:
vpcConfig- The VPC configuration for the app block builder. This parameter is required.- Returns:
this
-
accessEndpoints
@Stability(Stable) public CfnAppBlockBuilderProps.Builder accessEndpoints(IResolvable accessEndpoints) Sets the value ofCfnAppBlockBuilderProps.getAccessEndpoints()- Parameters:
accessEndpoints- The access endpoints of the app block builder.- Returns:
this
-
accessEndpoints
@Stability(Stable) public CfnAppBlockBuilderProps.Builder accessEndpoints(List<? extends Object> accessEndpoints) Sets the value ofCfnAppBlockBuilderProps.getAccessEndpoints()- Parameters:
accessEndpoints- The access endpoints of the app block builder.- Returns:
this
-
appBlockArns
Sets the value ofCfnAppBlockBuilderProps.getAppBlockArns()- Parameters:
appBlockArns- The ARN of the app block. Maximum :1- Returns:
this
-
description
Sets the value ofCfnAppBlockBuilderProps.getDescription()- Parameters:
description- The description of the app block builder.- Returns:
this
-
displayName
Sets the value ofCfnAppBlockBuilderProps.getDisplayName()- Parameters:
displayName- The display name of the app block builder.- Returns:
this
-
enableDefaultInternetAccess
@Stability(Stable) public CfnAppBlockBuilderProps.Builder enableDefaultInternetAccess(Boolean enableDefaultInternetAccess) Sets the value ofCfnAppBlockBuilderProps.getEnableDefaultInternetAccess()- Parameters:
enableDefaultInternetAccess- Indicates whether default internet access is enabled for the app block builder.- Returns:
this
-
enableDefaultInternetAccess
@Stability(Stable) public CfnAppBlockBuilderProps.Builder enableDefaultInternetAccess(IResolvable enableDefaultInternetAccess) Sets the value ofCfnAppBlockBuilderProps.getEnableDefaultInternetAccess()- Parameters:
enableDefaultInternetAccess- Indicates whether default internet access is enabled for the app block builder.- Returns:
this
-
iamRoleArn
Sets the value ofCfnAppBlockBuilderProps.getIamRoleArn()- Parameters:
iamRoleArn- The ARN of the IAM role that is applied to the app block builder.- Returns:
this
-
tags
Sets the value ofCfnAppBlockBuilderProps.getTags()- Parameters:
tags- The tags of the app block builder.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppBlockBuilderProps>- Returns:
- a new instance of
CfnAppBlockBuilderProps - Throws:
NullPointerException- if any required attribute was not provided
-