Class CfnMonitor.S3ConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.internetmonitor.CfnMonitor.S3ConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitor.S3ConfigProperty>
- Enclosing interface:
CfnMonitor.S3ConfigProperty
@Stability(Stable)
public static final class CfnMonitor.S3ConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitor.S3ConfigProperty>
A builder for
CfnMonitor.S3ConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnMonitor.S3ConfigProperty.getBucketName()bucketPrefix(String bucketPrefix) Sets the value ofCfnMonitor.S3ConfigProperty.getBucketPrefix()build()Builds the configured instance.logDeliveryStatus(String logDeliveryStatus) Sets the value ofCfnMonitor.S3ConfigProperty.getLogDeliveryStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
Sets the value ofCfnMonitor.S3ConfigProperty.getBucketName()- Parameters:
bucketName- The Amazon S3 bucket name for internet measurements publishing.- Returns:
this
-
bucketPrefix
Sets the value ofCfnMonitor.S3ConfigProperty.getBucketPrefix()- Parameters:
bucketPrefix- An optional Amazon S3 bucket prefix for internet measurements publishing.- Returns:
this
-
logDeliveryStatus
@Stability(Stable) public CfnMonitor.S3ConfigProperty.Builder logDeliveryStatus(String logDeliveryStatus) Sets the value ofCfnMonitor.S3ConfigProperty.getLogDeliveryStatus()- Parameters:
logDeliveryStatus- The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status isENABLEDif you choose to deliver internet measurements to an S3 bucket, andDISABLEDotherwise.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitor.S3ConfigProperty>- Returns:
- a new instance of
CfnMonitor.S3ConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-