Class CfnSimulationPropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.simspaceweaver.CfnSimulationPropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSimulationPropsMixin.S3LocationProperty>
- Enclosing interface:
CfnSimulationPropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnSimulationPropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSimulationPropsMixin.S3LocationProperty>
A builder for
CfnSimulationPropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnSimulationPropsMixin.S3LocationProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnSimulationPropsMixin.S3LocationProperty.getObjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnSimulationPropsMixin.S3LocationProperty.Builder bucketName(String bucketName) Sets the value ofCfnSimulationPropsMixin.S3LocationProperty.getBucketName()- Parameters:
bucketName- The name of an Amazon S3 bucket. For more information about buckets, see Creating, configuring, and working with Amazon S3 buckets in the Amazon Simple Storage Service User Guide .- Returns:
this
-
objectKey
@Stability(Stable) public CfnSimulationPropsMixin.S3LocationProperty.Builder objectKey(String objectKey) Sets the value ofCfnSimulationPropsMixin.S3LocationProperty.getObjectKey()- Parameters:
objectKey- The key name of an object in Amazon S3. For more information about Amazon S3 objects and object keys, see Uploading, downloading, and working with objects in Amazon S3 in the Amazon Simple Storage Service User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSimulationPropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnSimulationPropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-