Class CfnAssociation.S3OutputLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnAssociation.S3OutputLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.S3OutputLocationProperty>
- Enclosing interface:
CfnAssociation.S3OutputLocationProperty
@Stability(Stable)
public static final class CfnAssociation.S3OutputLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.S3OutputLocationProperty>
A builder for
CfnAssociation.S3OutputLocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.outputS3BucketName
(String outputS3BucketName) Sets the value ofCfnAssociation.S3OutputLocationProperty.getOutputS3BucketName()
outputS3KeyPrefix
(String outputS3KeyPrefix) Sets the value ofCfnAssociation.S3OutputLocationProperty.getOutputS3KeyPrefix()
outputS3Region
(String outputS3Region) Sets the value ofCfnAssociation.S3OutputLocationProperty.getOutputS3Region()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputS3BucketName
@Stability(Stable) public CfnAssociation.S3OutputLocationProperty.Builder outputS3BucketName(String outputS3BucketName) Sets the value ofCfnAssociation.S3OutputLocationProperty.getOutputS3BucketName()
- Parameters:
outputS3BucketName
- The name of the S3 bucket.- Returns:
this
-
outputS3KeyPrefix
@Stability(Stable) public CfnAssociation.S3OutputLocationProperty.Builder outputS3KeyPrefix(String outputS3KeyPrefix) Sets the value ofCfnAssociation.S3OutputLocationProperty.getOutputS3KeyPrefix()
- Parameters:
outputS3KeyPrefix
- The S3 bucket subfolder.- Returns:
this
-
outputS3Region
@Stability(Stable) public CfnAssociation.S3OutputLocationProperty.Builder outputS3Region(String outputS3Region) Sets the value ofCfnAssociation.S3OutputLocationProperty.getOutputS3Region()
- Parameters:
outputS3Region
- The AWS Region of the S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssociation.S3OutputLocationProperty>
- Returns:
- a new instance of
CfnAssociation.S3OutputLocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-