public static interface Dataset.Builder extends SdkPojo, CopyableBuilder<Dataset.Builder,Dataset>
Modifier and Type | Method and Description |
---|---|
Dataset.Builder |
actions(Collection<DatasetAction> actions)
The "DatasetAction" objects that automatically create the data set contents.
|
Dataset.Builder |
actions(Consumer<DatasetAction.Builder>... actions)
The "DatasetAction" objects that automatically create the data set contents.
|
Dataset.Builder |
actions(DatasetAction... actions)
The "DatasetAction" objects that automatically create the data set contents.
|
Dataset.Builder |
arn(String arn)
The ARN of the data set.
|
Dataset.Builder |
contentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
Sets the value of the ContentDeliveryRules property for this object.
|
Dataset.Builder |
contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)
Sets the value of the ContentDeliveryRules property for this object.
|
Dataset.Builder |
contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
Sets the value of the ContentDeliveryRules property for this object.
|
Dataset.Builder |
creationTime(Instant creationTime)
When the data set was created.
|
Dataset.Builder |
lastUpdateTime(Instant lastUpdateTime)
The last time the data set was updated.
|
Dataset.Builder |
name(String name)
The name of the data set.
|
default Dataset.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
|
Dataset.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
|
Dataset.Builder |
status(DatasetStatus status)
The status of the data set.
|
Dataset.Builder |
status(String status)
The status of the data set.
|
Dataset.Builder |
triggers(Collection<DatasetTrigger> triggers)
The "DatasetTrigger" objects that specify when the data set is automatically updated.
|
Dataset.Builder |
triggers(Consumer<DatasetTrigger.Builder>... triggers)
The "DatasetTrigger" objects that specify when the data set is automatically updated.
|
Dataset.Builder |
triggers(DatasetTrigger... triggers)
The "DatasetTrigger" objects that specify when the data set is automatically updated.
|
copy
applyMutation, build
Dataset.Builder name(String name)
The name of the data set.
name
- The name of the data set.Dataset.Builder arn(String arn)
The ARN of the data set.
arn
- The ARN of the data set.Dataset.Builder actions(Collection<DatasetAction> actions)
The "DatasetAction" objects that automatically create the data set contents.
actions
- The "DatasetAction" objects that automatically create the data set contents.Dataset.Builder actions(DatasetAction... actions)
The "DatasetAction" objects that automatically create the data set contents.
actions
- The "DatasetAction" objects that automatically create the data set contents.Dataset.Builder actions(Consumer<DatasetAction.Builder>... actions)
The "DatasetAction" objects that automatically create the data set contents.
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 #actions(List)
.actions
- a consumer that will call methods on List.Builder
#actions(List)
Dataset.Builder triggers(Collection<DatasetTrigger> triggers)
The "DatasetTrigger" objects that specify when the data set is automatically updated.
triggers
- The "DatasetTrigger" objects that specify when the data set is automatically updated.Dataset.Builder triggers(DatasetTrigger... triggers)
The "DatasetTrigger" objects that specify when the data set is automatically updated.
triggers
- The "DatasetTrigger" objects that specify when the data set is automatically updated.Dataset.Builder triggers(Consumer<DatasetTrigger.Builder>... triggers)
The "DatasetTrigger" objects that specify when the data set is automatically updated.
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 #triggers(List)
.triggers
- a consumer that will call methods on List.Builder
#triggers(List)
Dataset.Builder contentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
contentDeliveryRules
- The new value for the ContentDeliveryRules property for this object.Dataset.Builder contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
contentDeliveryRules
- The new value for the ContentDeliveryRules property for this object.Dataset.Builder contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)
List.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 #contentDeliveryRules(List)
.contentDeliveryRules
- a consumer that will call methods on List.Builder
#contentDeliveryRules(List)
Dataset.Builder status(String status)
The status of the data set.
status
- The status of the data set.DatasetStatus
,
DatasetStatus
Dataset.Builder status(DatasetStatus status)
The status of the data set.
status
- The status of the data set.DatasetStatus
,
DatasetStatus
Dataset.Builder creationTime(Instant creationTime)
When the data set was created.
creationTime
- When the data set was created.Dataset.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the data set was updated.
lastUpdateTime
- The last time the data set was updated.Dataset.Builder retentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
retentionPeriod
- [Optional] How long, in days, message data is kept for the data set.default Dataset.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.