Class CfnExperimentTemplate.S3ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnExperimentTemplate.S3ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplate.S3ConfigurationProperty>
- Enclosing interface:
CfnExperimentTemplate.S3ConfigurationProperty
@Stability(Stable)
public static final class CfnExperimentTemplate.S3ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTemplate.S3ConfigurationProperty>
A builder for
CfnExperimentTemplate.S3ConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) Sets the value ofCfnExperimentTemplate.S3ConfigurationProperty.getBucketName()
build()
Builds the configured instance.Sets the value ofCfnExperimentTemplate.S3ConfigurationProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnExperimentTemplate.S3ConfigurationProperty.Builder bucketName(String bucketName) Sets the value ofCfnExperimentTemplate.S3ConfigurationProperty.getBucketName()
- Parameters:
bucketName
- The name of the destination bucket. This parameter is required.- Returns:
this
-
prefix
@Stability(Stable) public CfnExperimentTemplate.S3ConfigurationProperty.Builder prefix(String prefix) Sets the value ofCfnExperimentTemplate.S3ConfigurationProperty.getPrefix()
- Parameters:
prefix
- The bucket prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExperimentTemplate.S3ConfigurationProperty>
- Returns:
- a new instance of
CfnExperimentTemplate.S3ConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-