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