public static interface CreateDatastoreRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<CreateDatastoreRequest.Builder,CreateDatastoreRequest>
Modifier and Type | Method and Description |
---|---|
CreateDatastoreRequest.Builder |
datastoreName(String datastoreName)
The name of the data store.
|
default CreateDatastoreRequest.Builder |
datastoreStorage(Consumer<DatastoreStorage.Builder> datastoreStorage)
Where data store data is stored.
|
CreateDatastoreRequest.Builder |
datastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored.
|
default CreateDatastoreRequest.Builder |
fileFormatConfiguration(Consumer<FileFormatConfiguration.Builder> fileFormatConfiguration)
Contains the configuration information of file formats.
|
CreateDatastoreRequest.Builder |
fileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
CreateDatastoreRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDatastoreRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
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.
|
CreateDatastoreRequest.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
CreateDatastoreRequest.Builder |
tags(Collection<Tag> tags)
Metadata which can be used to manage the data store.
|
CreateDatastoreRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the data store.
|
CreateDatastoreRequest.Builder |
tags(Tag... tags)
Metadata which can be used to manage the data store.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateDatastoreRequest.Builder datastoreName(String datastoreName)
The name of the data store.
datastoreName
- The name of the data store.CreateDatastoreRequest.Builder datastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You
cannot change this storage option after the data store is created.
datastoreStorage
- Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You cannot change this storage option after the data store is created.default CreateDatastoreRequest.Builder datastoreStorage(Consumer<DatastoreStorage.Builder> datastoreStorage)
Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You
cannot change this storage option after the data store is created.
DatastoreStorage.Builder
avoiding the need to
create one manually via DatastoreStorage.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to datastoreStorage(DatastoreStorage)
.datastoreStorage
- a consumer that will call methods on DatastoreStorage.Builder
datastoreStorage(DatastoreStorage)
CreateDatastoreRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.
retentionPeriod
- How long, in days, message data is kept for the data store. When customerManagedS3
storage is selected, this parameter is ignored.default CreateDatastoreRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.
RetentionPeriod.Builder
avoiding the need to
create one manually via RetentionPeriod.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to retentionPeriod(RetentionPeriod)
.retentionPeriod
- a consumer that will call methods on RetentionPeriod.Builder
retentionPeriod(RetentionPeriod)
CreateDatastoreRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the data store.
tags
- Metadata which can be used to manage the data store.CreateDatastoreRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the data store.
tags
- Metadata which can be used to manage the data store.CreateDatastoreRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the data store.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateDatastoreRequest.Builder fileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats. AWS 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.
fileFormatConfiguration
- Contains the configuration information of file formats. AWS 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.
default CreateDatastoreRequest.Builder fileFormatConfiguration(Consumer<FileFormatConfiguration.Builder> fileFormatConfiguration)
Contains the configuration information of file formats. AWS 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 that creates an instance of theFileFormatConfiguration.Builder
avoiding the
need to create one manually via FileFormatConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to fileFormatConfiguration(FileFormatConfiguration)
.fileFormatConfiguration
- a consumer that will call methods on FileFormatConfiguration.Builder
fileFormatConfiguration(FileFormatConfiguration)
CreateDatastoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDatastoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.