Class CfnSimulation.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.simspaceweaver.CfnSimulation.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSimulation.S3LocationProperty>
- Enclosing interface:
CfnSimulation.S3LocationProperty
@Stability(Stable)
public static final class CfnSimulation.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSimulation.S3LocationProperty>
A builder for
CfnSimulation.S3LocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) Sets the value ofCfnSimulation.S3LocationProperty.getBucketName()
build()
Builds the configured instance.Sets the value ofCfnSimulation.S3LocationProperty.getObjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
Sets the value ofCfnSimulation.S3LocationProperty.getBucketName()
- Parameters:
bucketName
- The name of an Amazon S3 bucket. This parameter is required. 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
Sets the value ofCfnSimulation.S3LocationProperty.getObjectKey()
- Parameters:
objectKey
- The key name of an object in Amazon S3 . This parameter is required. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnSimulation.S3LocationProperty>
- Returns:
- a new instance of
CfnSimulation.S3LocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-