public static interface PolicyDescription.Builder extends SdkPojo, CopyableBuilder<PolicyDescription.Builder,PolicyDescription>
Modifier and Type | Method and Description |
---|---|
PolicyDescription.Builder |
policyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription.Builder |
policyAttributeDescriptions(Consumer<PolicyAttributeDescription.Builder>... policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription.Builder |
policyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription.Builder |
policyName(String policyName)
The name of the policy.
|
PolicyDescription.Builder |
policyTypeName(String policyTypeName)
The name of the policy type.
|
copy
applyMutation, build
PolicyDescription.Builder policyName(String policyName)
The name of the policy.
policyName
- The name of the policy.PolicyDescription.Builder policyTypeName(String policyTypeName)
The name of the policy type.
policyTypeName
- The name of the policy type.PolicyDescription.Builder policyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
policyAttributeDescriptions
- The policy attributes.PolicyDescription.Builder policyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes.
policyAttributeDescriptions
- The policy attributes.PolicyDescription.Builder policyAttributeDescriptions(Consumer<PolicyAttributeDescription.Builder>... policyAttributeDescriptions)
The policy attributes.
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 #policyAttributeDescriptions(List)
.policyAttributeDescriptions
- a consumer that will call methods on List.Builder
#policyAttributeDescriptions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.