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