public static interface PolicyAttributeTypeDescription.Builder extends CopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
Modifier and Type | Method and Description |
---|---|
PolicyAttributeTypeDescription.Builder |
attributeName(String attributeName)
The name of the attribute.
|
PolicyAttributeTypeDescription.Builder |
attributeType(String attributeType)
The type of the attribute.
|
PolicyAttributeTypeDescription.Builder |
cardinality(String cardinality)
The cardinality of the attribute.
|
PolicyAttributeTypeDescription.Builder |
defaultValue(String defaultValue)
The default value of the attribute, if applicable.
|
PolicyAttributeTypeDescription.Builder |
description(String description)
A description of the attribute.
|
copy
apply, build
PolicyAttributeTypeDescription.Builder attributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.PolicyAttributeTypeDescription.Builder attributeType(String attributeType)
The type of the attribute. For example, Boolean
or Integer
.
attributeType
- The type of the attribute. For example, Boolean
or Integer
.PolicyAttributeTypeDescription.Builder description(String description)
A description of the attribute.
description
- A description of the attribute.PolicyAttributeTypeDescription.Builder defaultValue(String defaultValue)
The default value of the attribute, if applicable.
defaultValue
- The default value of the attribute, if applicable.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
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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.