Class CfnAppBlockMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnAppBlockMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppBlockMixinProps>
- Enclosing interface:
CfnAppBlockMixinProps
@Stability(Stable)
public static final class CfnAppBlockMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppBlockMixinProps>
A builder for
CfnAppBlockMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAppBlockMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnAppBlockMixinProps.getDisplayName()Sets the value ofCfnAppBlockMixinProps.getName()packagingType(String packagingType) Sets the value ofCfnAppBlockMixinProps.getPackagingType()postSetupScriptDetails(CfnAppBlockPropsMixin.ScriptDetailsProperty postSetupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getPostSetupScriptDetails()postSetupScriptDetails(IResolvable postSetupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getPostSetupScriptDetails()setupScriptDetails(CfnAppBlockPropsMixin.ScriptDetailsProperty setupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getSetupScriptDetails()setupScriptDetails(IResolvable setupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getSetupScriptDetails()sourceS3Location(CfnAppBlockPropsMixin.S3LocationProperty sourceS3Location) Sets the value ofCfnAppBlockMixinProps.getSourceS3Location()sourceS3Location(IResolvable sourceS3Location) Sets the value ofCfnAppBlockMixinProps.getSourceS3Location()Sets the value ofCfnAppBlockMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnAppBlockMixinProps.getDescription()- Parameters:
description- The description of the app block.- Returns:
this
-
displayName
Sets the value ofCfnAppBlockMixinProps.getDisplayName()- Parameters:
displayName- The display name of the app block.- Returns:
this
-
name
Sets the value ofCfnAppBlockMixinProps.getName()- Parameters:
name- The name of the app block. Pattern :^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$- Returns:
this
-
packagingType
Sets the value ofCfnAppBlockMixinProps.getPackagingType()- Parameters:
packagingType- The packaging type of the app block.- Returns:
this
-
postSetupScriptDetails
@Stability(Stable) public CfnAppBlockMixinProps.Builder postSetupScriptDetails(IResolvable postSetupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getPostSetupScriptDetails()- Parameters:
postSetupScriptDetails- The post setup script details of the app block.- Returns:
this
-
postSetupScriptDetails
@Stability(Stable) public CfnAppBlockMixinProps.Builder postSetupScriptDetails(CfnAppBlockPropsMixin.ScriptDetailsProperty postSetupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getPostSetupScriptDetails()- Parameters:
postSetupScriptDetails- The post setup script details of the app block.- Returns:
this
-
setupScriptDetails
@Stability(Stable) public CfnAppBlockMixinProps.Builder setupScriptDetails(IResolvable setupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getSetupScriptDetails()- Parameters:
setupScriptDetails- The setup script details of the app block.- Returns:
this
-
setupScriptDetails
@Stability(Stable) public CfnAppBlockMixinProps.Builder setupScriptDetails(CfnAppBlockPropsMixin.ScriptDetailsProperty setupScriptDetails) Sets the value ofCfnAppBlockMixinProps.getSetupScriptDetails()- Parameters:
setupScriptDetails- The setup script details of the app block.- Returns:
this
-
sourceS3Location
@Stability(Stable) public CfnAppBlockMixinProps.Builder sourceS3Location(IResolvable sourceS3Location) Sets the value ofCfnAppBlockMixinProps.getSourceS3Location()- Parameters:
sourceS3Location- The source S3 location of the app block.- Returns:
this
-
sourceS3Location
@Stability(Stable) public CfnAppBlockMixinProps.Builder sourceS3Location(CfnAppBlockPropsMixin.S3LocationProperty sourceS3Location) Sets the value ofCfnAppBlockMixinProps.getSourceS3Location()- Parameters:
sourceS3Location- The source S3 location of the app block.- Returns:
this
-
tags
Sets the value ofCfnAppBlockMixinProps.getTags()- Parameters:
tags- The tags of the app block.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppBlockMixinProps>- Returns:
- a new instance of
CfnAppBlockMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-