Class CfnService.S3ReportOutputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnService.S3ReportOutputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.S3ReportOutputConfigurationProperty>
- Enclosing interface:
CfnService.S3ReportOutputConfigurationProperty
@Stability(Stable)
public static final class CfnService.S3ReportOutputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.S3ReportOutputConfigurationProperty>
A builder for
CfnService.S3ReportOutputConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketOwner(String bucketOwner) Sets the value ofCfnService.S3ReportOutputConfigurationProperty.getBucketOwner()bucketPath(String bucketPath) Sets the value ofCfnService.S3ReportOutputConfigurationProperty.getBucketPath()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketOwner
@Stability(Stable) public CfnService.S3ReportOutputConfigurationProperty.Builder bucketOwner(String bucketOwner) Sets the value ofCfnService.S3ReportOutputConfigurationProperty.getBucketOwner()- Parameters:
bucketOwner- Account ID of the bucket owner. This parameter is required.- Returns:
this
-
bucketPath
@Stability(Stable) public CfnService.S3ReportOutputConfigurationProperty.Builder bucketPath(String bucketPath) Sets the value ofCfnService.S3ReportOutputConfigurationProperty.getBucketPath()- Parameters:
bucketPath- S3 bucket path where reports will be written. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.S3ReportOutputConfigurationProperty>- Returns:
- a new instance of
CfnService.S3ReportOutputConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-