Interface ChannelStorage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChannelStorage.Builder,
,ChannelStorage> SdkBuilder<ChannelStorage.Builder,
,ChannelStorage> SdkPojo
- Enclosing class:
ChannelStorage
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelStorage.Builder
customerManagedS3
(Consumer<CustomerManagedChannelS3Storage.Builder> customerManagedS3) Used to store channel data in an S3 bucket that you manage.customerManagedS3
(CustomerManagedChannelS3Storage customerManagedS3) Used to store channel data in an S3 bucket that you manage.default ChannelStorage.Builder
serviceManagedS3
(Consumer<ServiceManagedChannelS3Storage.Builder> serviceManagedS3) Used to store channel data in an S3 bucket managed by IoT Analytics.serviceManagedS3
(ServiceManagedChannelS3Storage serviceManagedS3) Used to store channel data in an S3 bucket managed by IoT Analytics.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceManagedS3
Used to store channel data in an S3 bucket managed by IoT Analytics. You can't change the choice of S3 storage after the data store is created.
- Parameters:
serviceManagedS3
- Used to store channel data in an S3 bucket managed by IoT Analytics. You can't change the choice of S3 storage after the data store is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceManagedS3
default ChannelStorage.Builder serviceManagedS3(Consumer<ServiceManagedChannelS3Storage.Builder> serviceManagedS3) Used to store channel data in an S3 bucket managed by IoT Analytics. You can't change the choice of S3 storage after the data store is created.
This is a convenience method that creates an instance of theServiceManagedChannelS3Storage.Builder
avoiding the need to create one manually viaServiceManagedChannelS3Storage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceManagedS3(ServiceManagedChannelS3Storage)
.- Parameters:
serviceManagedS3
- a consumer that will call methods onServiceManagedChannelS3Storage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerManagedS3
Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
customerManagedS3
default ChannelStorage.Builder customerManagedS3(Consumer<CustomerManagedChannelS3Storage.Builder> customerManagedS3) Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
This is a convenience method that creates an instance of theretentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created.CustomerManagedChannelS3Storage.Builder
avoiding the need to create one manually viaCustomerManagedChannelS3Storage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerManagedS3(CustomerManagedChannelS3Storage)
.- Parameters:
customerManagedS3
- a consumer that will call methods onCustomerManagedChannelS3Storage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-