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