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