Class CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.S3DestinationConfigurationProperty>
- Enclosing interface:
CfnChannelPropsMixin.S3DestinationConfigurationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.S3DestinationConfigurationProperty>
A builder for
CfnChannelPropsMixin.S3DestinationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataFreshnessInSeconds(Number dataFreshnessInSeconds) deadLetterQueueS3(CfnChannelPropsMixin.DeadLetterQueueS3Property deadLetterQueueS3) deadLetterQueueS3(IResolvable deadLetterQueueS3) serviceExecutionRoleArn(String serviceExecutionRoleArn) Sets the value ofCfnChannelPropsMixin.S3DestinationConfigurationProperty.getStorage()storage(IResolvable storage) Sets the value ofCfnChannelPropsMixin.S3DestinationConfigurationProperty.getStorage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataFreshnessInSeconds
@Stability(Stable) public CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder dataFreshnessInSeconds(Number dataFreshnessInSeconds) Sets the value ofCfnChannelPropsMixin.S3DestinationConfigurationProperty.getDataFreshnessInSeconds()- Parameters:
dataFreshnessInSeconds- Data freshness in seconds.- Returns:
this
-
deadLetterQueueS3
@Stability(Stable) public CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder deadLetterQueueS3(IResolvable deadLetterQueueS3) - Parameters:
deadLetterQueueS3- Dead letter queue S3 configuration of the destination.- Returns:
this
-
deadLetterQueueS3
@Stability(Stable) public CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder deadLetterQueueS3(CfnChannelPropsMixin.DeadLetterQueueS3Property deadLetterQueueS3) - Parameters:
deadLetterQueueS3- Dead letter queue S3 configuration of the destination.- Returns:
this
-
serviceExecutionRoleArn
@Stability(Stable) public CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder serviceExecutionRoleArn(String serviceExecutionRoleArn) Sets the value ofCfnChannelPropsMixin.S3DestinationConfigurationProperty.getServiceExecutionRoleArn()- Parameters:
serviceExecutionRoleArn- The Amazon Resource Name (ARN) of an IAM role used by MSK to access S3.- Returns:
this
-
storage
@Stability(Stable) public CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder storage(IResolvable storage) Sets the value ofCfnChannelPropsMixin.S3DestinationConfigurationProperty.getStorage()- Parameters:
storage- S3 storage configuration.- Returns:
this
-
storage
@Stability(Stable) public CfnChannelPropsMixin.S3DestinationConfigurationProperty.Builder storage(CfnChannelPropsMixin.S3StorageProperty storage) Sets the value ofCfnChannelPropsMixin.S3DestinationConfigurationProperty.getStorage()- Parameters:
storage- S3 storage configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.S3DestinationConfigurationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.S3DestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-