public static interface Schedule.Builder extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
| Modifier and Type | Method and Description |
|---|---|
Schedule.Builder |
copyTags(Boolean copyTags)
Sets the value of the CopyTags property for this object.
|
default Schedule.Builder |
createRule(Consumer<CreateRule.Builder> createRule)
The create rule.
|
Schedule.Builder |
createRule(CreateRule createRule)
The create rule.
|
Schedule.Builder |
name(String name)
The name of the schedule.
|
default Schedule.Builder |
retainRule(Consumer<RetainRule.Builder> retainRule)
The retain rule.
|
Schedule.Builder |
retainRule(RetainRule retainRule)
The retain rule.
|
Schedule.Builder |
tagsToAdd(Collection<Tag> tagsToAdd)
The tags to apply to policy-created resources.
|
Schedule.Builder |
tagsToAdd(Consumer<Tag.Builder>... tagsToAdd)
The tags to apply to policy-created resources.
|
Schedule.Builder |
tagsToAdd(Tag... tagsToAdd)
The tags to apply to policy-created resources.
|
copyapplyMutation, buildSchedule.Builder name(String name)
The name of the schedule.
name - The name of the schedule.Schedule.Builder copyTags(Boolean copyTags)
copyTags - The new value for the CopyTags property for this object.Schedule.Builder tagsToAdd(Collection<Tag> tagsToAdd)
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
tagsToAdd - The tags to apply to policy-created resources. These user-defined tags are in addition to the
AWS-added lifecycle tags.Schedule.Builder tagsToAdd(Tag... tagsToAdd)
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
tagsToAdd - The tags to apply to policy-created resources. These user-defined tags are in addition to the
AWS-added lifecycle tags.Schedule.Builder tagsToAdd(Consumer<Tag.Builder>... tagsToAdd)
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
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 #tagsToAdd(List) .tagsToAdd - a consumer that will call methods on List.Builder #tagsToAdd(List) Schedule.Builder createRule(CreateRule createRule)
The create rule.
createRule - The create rule.default Schedule.Builder createRule(Consumer<CreateRule.Builder> createRule)
The create rule.
This is a convenience that creates an instance of theCreateRule.Builder avoiding the need to create
one manually via CreateRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to createRule(CreateRule).createRule - a consumer that will call methods on CreateRule.BuildercreateRule(CreateRule)Schedule.Builder retainRule(RetainRule retainRule)
The retain rule.
retainRule - The retain rule.default Schedule.Builder retainRule(Consumer<RetainRule.Builder> retainRule)
The retain rule.
This is a convenience that creates an instance of theRetainRule.Builder avoiding the need to create
one manually via RetainRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to retainRule(RetainRule).retainRule - a consumer that will call methods on RetainRule.BuilderretainRule(RetainRule)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.