Interface UpdateDatastoreRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDatastoreRequest.Builder,UpdateDatastoreRequest>,IoTAnalyticsRequest.Builder,SdkBuilder<UpdateDatastoreRequest.Builder,UpdateDatastoreRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDatastoreRequest
public static interface UpdateDatastoreRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<UpdateDatastoreRequest.Builder,UpdateDatastoreRequest>
-
-
Method Summary
-
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 Detail
-
datastoreName
UpdateDatastoreRequest.Builder datastoreName(String 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
UpdateDatastoreRequest.Builder retentionPeriod(RetentionPeriod 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:
retentionPeriod(RetentionPeriod)
-
datastoreStorage
UpdateDatastoreRequest.Builder datastoreStorage(DatastoreStorage 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:
datastoreStorage(DatastoreStorage)
-
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:
fileFormatConfiguration(FileFormatConfiguration)
-
overrideConfiguration
UpdateDatastoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDatastoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-