Interface PolicyAttributeTypeDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyAttributeTypeDescription.Builder,
,PolicyAttributeTypeDescription> SdkBuilder<PolicyAttributeTypeDescription.Builder,
,PolicyAttributeTypeDescription> SdkPojo
- Enclosing class:
PolicyAttributeTypeDescription
public static interface PolicyAttributeTypeDescription.Builder
extends SdkPojo, CopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The name of the attribute.attributeType
(String attributeType) The type of the attribute.cardinality
(String cardinality) The cardinality of the attribute.defaultValue
(String defaultValue) The default value of the attribute, if applicable.description
(String description) A description of the attribute.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, sdkFields
-
Method Details
-
attributeName
The name of the attribute.
- Parameters:
attributeName
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeType
The type of the attribute. For example,
Boolean
orInteger
.- Parameters:
attributeType
- The type of the attribute. For example,Boolean
orInteger
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the attribute.
- Parameters:
description
- A description of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value of the attribute, if applicable.
- Parameters:
defaultValue
- The default value of the attribute, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cardinality
The cardinality of the attribute.
Valid values:
-
ONE(1) : Single value required
-
ZERO_OR_ONE(0..1) : Up to one value is allowed
-
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
-
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Parameters:
cardinality
- The cardinality of the attribute.Valid values:
-
ONE(1) : Single value required
-
ZERO_OR_ONE(0..1) : Up to one value is allowed
-
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
-
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-