public static interface PolicyDetails.Builder extends SdkPojo, CopyableBuilder<PolicyDetails.Builder,PolicyDetails>
| Modifier and Type | Method and Description |
|---|---|
default PolicyDetails.Builder |
parameters(Consumer<Parameters.Builder> parameters)
A set of optional parameters for the policy.
|
PolicyDetails.Builder |
parameters(Parameters parameters)
A set of optional parameters for the policy.
|
PolicyDetails.Builder |
policyType(PolicyTypeValues policyType)
The valid target resource types and actions a policy can manage.
|
PolicyDetails.Builder |
policyType(String policyType)
The valid target resource types and actions a policy can manage.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicyDetails.Builder policyType(String policyType)
The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.
policyType - The valid target resource types and actions a policy can manage. The default is
EBS_SNAPSHOT_MANAGEMENT.PolicyTypeValues,
PolicyTypeValuesPolicyDetails.Builder policyType(PolicyTypeValues policyType)
The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.
policyType - The valid target resource types and actions a policy can manage. The default is
EBS_SNAPSHOT_MANAGEMENT.PolicyTypeValues,
PolicyTypeValuesPolicyDetails.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) PolicyDetails.Builder parameters(Parameters parameters)
A set of optional parameters for the policy.
parameters - A set of optional parameters for the policy.default PolicyDetails.Builder parameters(Consumer<Parameters.Builder> parameters)
A set of optional parameters for the policy.
This is a convenience that creates an instance of theParameters.Builder avoiding the need to create
one manually via Parameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to parameters(Parameters).parameters - a consumer that will call methods on Parameters.Builderparameters(Parameters)Copyright © 2020. All rights reserved.