Interface ChannelStorage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelStorage.Builder,ChannelStorage>,SdkBuilder<ChannelStorage.Builder,ChannelStorage>,SdkPojo
- Enclosing class:
- ChannelStorage
public static interface ChannelStorage.Builder extends SdkPojo, CopyableBuilder<ChannelStorage.Builder,ChannelStorage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChannelStorage.BuildercustomerManagedS3(Consumer<CustomerManagedChannelS3Storage.Builder> customerManagedS3)Used to store channel data in an S3 bucket that you manage.ChannelStorage.BuildercustomerManagedS3(CustomerManagedChannelS3Storage customerManagedS3)Used to store channel data in an S3 bucket that you manage.default ChannelStorage.BuilderserviceManagedS3(Consumer<ServiceManagedChannelS3Storage.Builder> serviceManagedS3)Used to store channel data in an S3 bucket managed by IoT Analytics.ChannelStorage.BuilderserviceManagedS3(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
serviceManagedS3
ChannelStorage.Builder serviceManagedS3(ServiceManagedChannelS3Storage 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.Builderavoiding the need to create one manually viaServiceManagedChannelS3Storage.builder().When the
Consumercompletes,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:
serviceManagedS3(ServiceManagedChannelS3Storage)
-
customerManagedS3
ChannelStorage.Builder customerManagedS3(CustomerManagedChannelS3Storage customerManagedS3)
Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriodparameter 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, theretentionPeriodparameter 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 theretentionPeriodparameter is ignored. You can't change the choice of S3 storage after the data store is created.CustomerManagedChannelS3Storage.Builderavoiding the need to create one manually viaCustomerManagedChannelS3Storage.builder().When the
Consumercompletes,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:
customerManagedS3(CustomerManagedChannelS3Storage)
-
-