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.BuilderdatastorePartitions(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.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 CreateDatastoreRequest.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 CreateDatastoreRequest.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.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
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, 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
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 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 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:
-
retentionPeriod
How long, in days, message data is kept for the data store. When
customerManagedS3storage is selected, this parameter is ignored.- Parameters:
retentionPeriod- How long, in days, message data is kept for the data store. WhencustomerManagedS3storage 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 thecustomerManagedS3storage is selected, this parameter is ignored.RetentionPeriod.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:
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.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:
-
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.Builderavoiding the need to create one manually viaDatastorePartitions.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-