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.BuilderdatastoreStorage(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.BuilderfileFormatConfiguration(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.BuilderretentionPeriod(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaRetentionPeriod.builder().When the
Consumercompletes,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
serviceManagedS3storage,customerManagedS3storage, oriotSiteWiseMultiLayerStoragestorage. 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 chooseserviceManagedS3storage,customerManagedS3storage, oriotSiteWiseMultiLayerStoragestorage. 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 theserviceManagedS3storage,customerManagedS3storage, oriotSiteWiseMultiLayerStoragestorage. The default isserviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is created.DatastoreStorage.Builderavoiding the need to create one manually viaDatastoreStorage.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFileFormatConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-