public static interface PolicyDetails.Builder extends SdkPojo, CopyableBuilder<PolicyDetails.Builder,PolicyDetails>
Modifier and Type | Method and Description |
---|---|
PolicyDetails.Builder |
resourceTypes(Collection<ResourceTypeValues> resourceTypes)
The resource type.
|
PolicyDetails.Builder |
resourceTypes(ResourceTypeValues... resourceTypes)
The resource type.
|
PolicyDetails.Builder |
resourceTypesWithStrings(Collection<String> resourceTypes)
The resource type.
|
PolicyDetails.Builder |
resourceTypesWithStrings(String... resourceTypes)
The resource type.
|
PolicyDetails.Builder |
schedules(Collection<Schedule> schedules)
The schedule of policy-defined actions.
|
PolicyDetails.Builder |
schedules(Consumer<Schedule.Builder>... schedules)
The schedule of policy-defined actions.
|
PolicyDetails.Builder |
schedules(Schedule... schedules)
The schedule of policy-defined actions.
|
PolicyDetails.Builder |
targetTags(Collection<Tag> targetTags)
The single tag that identifies targeted resources for this policy.
|
PolicyDetails.Builder |
targetTags(Consumer<Tag.Builder>... targetTags)
The single tag that identifies targeted resources for this policy.
|
PolicyDetails.Builder |
targetTags(Tag... targetTags)
The single tag that identifies targeted resources for this policy.
|
copy
applyMutation, build
PolicyDetails.Builder resourceTypesWithStrings(Collection<String> resourceTypes)
The resource type.
resourceTypes
- The resource type.PolicyDetails.Builder resourceTypesWithStrings(String... resourceTypes)
The resource type.
resourceTypes
- The resource type.PolicyDetails.Builder resourceTypes(Collection<ResourceTypeValues> resourceTypes)
The resource type.
resourceTypes
- The resource type.PolicyDetails.Builder resourceTypes(ResourceTypeValues... resourceTypes)
The resource type.
resourceTypes
- The resource type.PolicyDetails.Builder targetTags(Collection<Tag> targetTags)
The single tag that identifies targeted resources for this policy.
targetTags
- The single tag that identifies targeted resources for this policy.PolicyDetails.Builder targetTags(Tag... targetTags)
The single tag that identifies targeted resources for this policy.
targetTags
- The single tag that identifies targeted resources for this policy.PolicyDetails.Builder targetTags(Consumer<Tag.Builder>... targetTags)
The single tag that identifies targeted resources for this policy.
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 #targetTags(List)
.targetTags
- a consumer that will call methods on List.Builder
#targetTags(List)
PolicyDetails.Builder schedules(Collection<Schedule> schedules)
The schedule of policy-defined actions.
schedules
- The schedule of policy-defined actions.PolicyDetails.Builder schedules(Schedule... schedules)
The schedule of policy-defined actions.
schedules
- The schedule of policy-defined actions.PolicyDetails.Builder schedules(Consumer<Schedule.Builder>... schedules)
The schedule of policy-defined actions.
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 #schedules(List)
.schedules
- a consumer that will call methods on List.Builder
#schedules(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.