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