Interface PolicyTypeDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyTypeDescription.Builder,,PolicyTypeDescription> SdkBuilder<PolicyTypeDescription.Builder,,PolicyTypeDescription> SdkPojo
- Enclosing class:
- PolicyTypeDescription
@Mutable
@NotThreadSafe
public static interface PolicyTypeDescription.Builder
extends SdkPojo, CopyableBuilder<PolicyTypeDescription.Builder,PolicyTypeDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the policy type.policyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions) The description of the policy attributes associated with the policies defined by Elastic Load Balancing.policyAttributeTypeDescriptions(Consumer<PolicyAttributeTypeDescription.Builder>... policyAttributeTypeDescriptions) The description of the policy attributes associated with the policies defined by Elastic Load Balancing.policyAttributeTypeDescriptions(PolicyAttributeTypeDescription... policyAttributeTypeDescriptions) The description of the policy attributes associated with the policies defined by Elastic Load Balancing.policyTypeName(String policyTypeName) The name of the policy type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
description
A description of the policy type.
- Parameters:
description- A description of the policy type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributeTypeDescriptions
PolicyTypeDescription.Builder policyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions) The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
- Parameters:
policyAttributeTypeDescriptions- The description of the policy attributes associated with the policies defined by Elastic Load Balancing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributeTypeDescriptions
PolicyTypeDescription.Builder policyAttributeTypeDescriptions(PolicyAttributeTypeDescription... policyAttributeTypeDescriptions) The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
- Parameters:
policyAttributeTypeDescriptions- The description of the policy attributes associated with the policies defined by Elastic Load Balancing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributeTypeDescriptions
PolicyTypeDescription.Builder policyAttributeTypeDescriptions(Consumer<PolicyAttributeTypeDescription.Builder>... policyAttributeTypeDescriptions) The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
This is a convenience method that creates an instance of thePolicyAttributeTypeDescription.Builderavoiding the need to create one manually viaPolicyAttributeTypeDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyAttributeTypeDescriptions(List<PolicyAttributeTypeDescription>).- Parameters:
policyAttributeTypeDescriptions- a consumer that will call methods onPolicyAttributeTypeDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-