Interface PolicyDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyDescription.Builder,PolicyDescription>,SdkBuilder<PolicyDescription.Builder,PolicyDescription>,SdkPojo
- Enclosing class:
- PolicyDescription
public static interface PolicyDescription.Builder extends SdkPojo, CopyableBuilder<PolicyDescription.Builder,PolicyDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyDescription.BuilderpolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)The policy attributes.PolicyDescription.BuilderpolicyAttributeDescriptions(Consumer<PolicyAttributeDescription.Builder>... policyAttributeDescriptions)The policy attributes.PolicyDescription.BuilderpolicyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)The policy attributes.PolicyDescription.BuilderpolicyName(String policyName)The name of the policy.PolicyDescription.BuilderpolicyTypeName(String policyTypeName)The name of the policy type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policyName
PolicyDescription.Builder policyName(String policyName)
The name of the policy.
- Parameters:
policyName- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypeName
PolicyDescription.Builder policyTypeName(String policyTypeName)
The name of the policy type.
- Parameters:
policyTypeName- The name of the policy type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributeDescriptions
PolicyDescription.Builder policyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
- Parameters:
policyAttributeDescriptions- The policy attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributeDescriptions
PolicyDescription.Builder policyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes.
- Parameters:
policyAttributeDescriptions- The policy attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributeDescriptions
PolicyDescription.Builder policyAttributeDescriptions(Consumer<PolicyAttributeDescription.Builder>... policyAttributeDescriptions)
The policy attributes.
This is a convenience method that creates an instance of thePolicyAttributeDescription.Builderavoiding the need to create one manually viaPolicyAttributeDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyAttributeDescriptions(List.) - Parameters:
policyAttributeDescriptions- a consumer that will call methods onPolicyAttributeDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyAttributeDescriptions(java.util.Collection)
-
-