public static interface Datastore.Builder extends SdkPojo, CopyableBuilder<Datastore.Builder,Datastore>
Modifier and Type | Method and Description |
---|---|
Datastore.Builder |
arn(String arn)
The ARN of the data store.
|
Datastore.Builder |
creationTime(Instant creationTime)
When the data store was created.
|
Datastore.Builder |
lastUpdateTime(Instant lastUpdateTime)
The last time the data store was updated.
|
Datastore.Builder |
name(String name)
The name of the data store.
|
default Datastore.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data store.
|
Datastore.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
Datastore.Builder |
status(DatastoreStatus status)
The status of a data store:
|
Datastore.Builder |
status(String status)
The status of a data store:
|
copy
applyMutation, build
Datastore.Builder name(String name)
The name of the data store.
name
- The name of the data store.Datastore.Builder arn(String arn)
The ARN of the data store.
arn
- The ARN of the data store.Datastore.Builder status(String status)
The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
status
- The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatus
,
DatastoreStatus
Datastore.Builder status(DatastoreStatus status)
The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
status
- The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatus
,
DatastoreStatus
Datastore.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
retentionPeriod
- How long, in days, message data is kept for the data store.default Datastore.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data store.
This is a convenience that creates an instance of theRetentionPeriod.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)
Datastore.Builder creationTime(Instant creationTime)
When the data store was created.
creationTime
- When the data store was created.Datastore.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the data store was updated.
lastUpdateTime
- The last time the data store was updated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.