Interface UpdateDatastoreRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDatastoreRequest.Builder,
,UpdateDatastoreRequest> IoTAnalyticsRequest.Builder
,SdkBuilder<UpdateDatastoreRequest.Builder,
,UpdateDatastoreRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDatastoreRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatastoreName
(String datastoreName) The name of the data store to be updated.default UpdateDatastoreRequest.Builder
datastoreStorage
(Consumer<DatastoreStorage.Builder> datastoreStorage) Where data in a data store is stored..datastoreStorage
(DatastoreStorage datastoreStorage) Where data in a data store is stored..default UpdateDatastoreRequest.Builder
fileFormatConfiguration
(Consumer<FileFormatConfiguration.Builder> fileFormatConfiguration) Contains the configuration information of file formats.fileFormatConfiguration
(FileFormatConfiguration fileFormatConfiguration) Contains the configuration information of file formats.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateDatastoreRequest.Builder
retentionPeriod
(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, message data is kept for the data store.retentionPeriod
(RetentionPeriod retentionPeriod) How long, in days, message data is kept for the data store.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsRequest.Builder
build
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
-
datastoreName
The name of the data store to be updated.
- Parameters:
datastoreName
- The name of the data store to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
- Parameters:
retentionPeriod
- How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default UpdateDatastoreRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
This is a convenience method that creates an instance of theRetentionPeriod.Builder
avoiding the need to create one manually viaRetentionPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretentionPeriod(RetentionPeriod)
.- Parameters:
retentionPeriod
- a consumer that will call methods onRetentionPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datastoreStorage
Where data in a data store is stored.. You can choose
serviceManagedS3
storage,customerManagedS3
storage, oriotSiteWiseMultiLayerStorage
storage. The default isserviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.- Parameters:
datastoreStorage
- Where data in a data store is stored.. You can chooseserviceManagedS3
storage,customerManagedS3
storage, oriotSiteWiseMultiLayerStorage
storage. The default isserviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datastoreStorage
default UpdateDatastoreRequest.Builder datastoreStorage(Consumer<DatastoreStorage.Builder> datastoreStorage) Where data in a data store is stored.. You can choose
This is a convenience method that creates an instance of theserviceManagedS3
storage,customerManagedS3
storage, oriotSiteWiseMultiLayerStorage
storage. The default isserviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.DatastoreStorage.Builder
avoiding the need to create one manually viaDatastoreStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatastoreStorage(DatastoreStorage)
.- Parameters:
datastoreStorage
- a consumer that will call methods onDatastoreStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormatConfiguration
UpdateDatastoreRequest.Builder fileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration) Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Parameters:
fileFormatConfiguration
- Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormatConfiguration
default UpdateDatastoreRequest.Builder fileFormatConfiguration(Consumer<FileFormatConfiguration.Builder> fileFormatConfiguration) Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
This is a convenience method that creates an instance of theFileFormatConfiguration.Builder
avoiding the need to create one manually viaFileFormatConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileFormatConfiguration(FileFormatConfiguration)
.- Parameters:
fileFormatConfiguration
- a consumer that will call methods onFileFormatConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDatastoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDatastoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-