Class CfnCapabilityPropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnCapabilityPropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapabilityPropsMixin.S3LocationProperty>
- Enclosing interface:
CfnCapabilityPropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnCapabilityPropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapabilityPropsMixin.S3LocationProperty>
A builder for
CfnCapabilityPropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnCapabilityPropsMixin.S3LocationProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnCapabilityPropsMixin.S3LocationProperty.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnCapabilityPropsMixin.S3LocationProperty.Builder bucketName(String bucketName) Sets the value ofCfnCapabilityPropsMixin.S3LocationProperty.getBucketName()- Parameters:
bucketName- Specifies the name of the Amazon S3 bucket.- Returns:
this
-
key
Sets the value ofCfnCapabilityPropsMixin.S3LocationProperty.getKey()- Parameters:
key- Specifies the Amazon S3 key for the file location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapabilityPropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnCapabilityPropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-