Interface CreateDatastoreRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDatastoreRequest.Builder,
,CreateDatastoreRequest> IoTAnalyticsRequest.Builder
,SdkBuilder<CreateDatastoreRequest.Builder,
,CreateDatastoreRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDatastoreRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatastoreName
(String datastoreName) The name of the data store.default CreateDatastoreRequest.Builder
datastorePartitions
(Consumer<DatastorePartitions.Builder> datastorePartitions) Contains information about the partition dimensions in a data store.datastorePartitions
(DatastorePartitions datastorePartitions) Contains information about the partition dimensions in a data store.default CreateDatastoreRequest.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 CreateDatastoreRequest.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 CreateDatastoreRequest.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.tags
(Collection<Tag> tags) Metadata which can be used to manage the data store.tags
(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the data store.Metadata which can be used to manage 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.
- Parameters:
datastoreName
- The name of the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CreateDatastoreRequest.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:
-
retentionPeriod
How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored.- Parameters:
retentionPeriod
- How long, in days, message data is kept for the data store. WhencustomerManagedS3
storage is selected, this parameter is ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default CreateDatastoreRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, message data is kept for the data store. When
This is a convenience method that creates an instance of thecustomerManagedS3
storage is selected, this parameter is ignored.RetentionPeriod.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:
-
tags
Metadata which can be used to manage the data store.
- Parameters:
tags
- Metadata which can be used to manage the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the data store.
- Parameters:
tags
- Metadata which can be used to manage the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the data store.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormatConfiguration
CreateDatastoreRequest.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 CreateDatastoreRequest.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:
-
datastorePartitions
Contains information about the partition dimensions in a data store.
- Parameters:
datastorePartitions
- Contains information about the partition dimensions in a data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datastorePartitions
default CreateDatastoreRequest.Builder datastorePartitions(Consumer<DatastorePartitions.Builder> datastorePartitions) Contains information about the partition dimensions in a data store.
This is a convenience method that creates an instance of theDatastorePartitions.Builder
avoiding the need to create one manually viaDatastorePartitions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatastorePartitions(DatastorePartitions)
.- Parameters:
datastorePartitions
- a consumer that will call methods onDatastorePartitions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDatastoreRequest.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
CreateDatastoreRequest.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.
-