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