Class CfnAppBlockPropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnAppBlockPropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppBlockPropsMixin.S3LocationProperty>
- Enclosing interface:
CfnAppBlockPropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnAppBlockPropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppBlockPropsMixin.S3LocationProperty>
A builder for
CfnAppBlockPropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAppBlockPropsMixin.S3LocationProperty.getS3Bucket()Sets the value ofCfnAppBlockPropsMixin.S3LocationProperty.getS3Key()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Bucket
@Stability(Stable) public CfnAppBlockPropsMixin.S3LocationProperty.Builder s3Bucket(String s3Bucket) Sets the value ofCfnAppBlockPropsMixin.S3LocationProperty.getS3Bucket()- Parameters:
s3Bucket- The S3 bucket of the app block.- Returns:
this
-
s3Key
Sets the value ofCfnAppBlockPropsMixin.S3LocationProperty.getS3Key()- Parameters:
s3Key- The S3 key of the S3 object of the virtual hard disk. This is required when it's used bySetupScriptDetailsandPostSetupScriptDetails.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppBlockPropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnAppBlockPropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-