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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyAttributeTypeDescription.BuilderattributeName(String attributeName)The name of the attribute.PolicyAttributeTypeDescription.BuilderattributeType(String attributeType)The type of the attribute.PolicyAttributeTypeDescription.Buildercardinality(String cardinality)The cardinality of the attribute.PolicyAttributeTypeDescription.BuilderdefaultValue(String defaultValue)The default value of the attribute, if applicable.PolicyAttributeTypeDescription.Builderdescription(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attributeName
PolicyAttributeTypeDescription.Builder attributeName(String 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
PolicyAttributeTypeDescription.Builder attributeType(String attributeType)
The type of the attribute. For example,
BooleanorInteger.- Parameters:
attributeType- The type of the attribute. For example,BooleanorInteger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PolicyAttributeTypeDescription.Builder description(String 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
PolicyAttributeTypeDescription.Builder defaultValue(String 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
PolicyAttributeTypeDescription.Builder cardinality(String 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.
-
-
-