Class CfnChannel.ChannelStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnChannel.ChannelStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.ChannelStorageProperty>
- Enclosing interface:
CfnChannel.ChannelStorageProperty
@Stability(Stable)
public static final class CfnChannel.ChannelStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.ChannelStorageProperty>
A builder for
CfnChannel.ChannelStorageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customerManagedS3
(IResolvable customerManagedS3) Sets the value ofCfnChannel.ChannelStorageProperty.getCustomerManagedS3()
customerManagedS3
(CfnChannel.CustomerManagedS3Property customerManagedS3) Sets the value ofCfnChannel.ChannelStorageProperty.getCustomerManagedS3()
serviceManagedS3
(Object serviceManagedS3) Sets the value ofCfnChannel.ChannelStorageProperty.getServiceManagedS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedS3
@Stability(Stable) public CfnChannel.ChannelStorageProperty.Builder customerManagedS3(IResolvable customerManagedS3) Sets the value ofCfnChannel.ChannelStorageProperty.getCustomerManagedS3()
- Parameters:
customerManagedS3
- Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, theretentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created.- Returns:
this
-
customerManagedS3
@Stability(Stable) public CfnChannel.ChannelStorageProperty.Builder customerManagedS3(CfnChannel.CustomerManagedS3Property customerManagedS3) Sets the value ofCfnChannel.ChannelStorageProperty.getCustomerManagedS3()
- Parameters:
customerManagedS3
- Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, theretentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created.- Returns:
this
-
serviceManagedS3
@Stability(Stable) public CfnChannel.ChannelStorageProperty.Builder serviceManagedS3(Object serviceManagedS3) Sets the value ofCfnChannel.ChannelStorageProperty.getServiceManagedS3()
- Parameters:
serviceManagedS3
- Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.ChannelStorageProperty>
- Returns:
- a new instance of
CfnChannel.ChannelStorageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-