Class PolicyAttributeTypeDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
Information about a policy attribute type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe name of the attribute.final StringThe type of the attribute.builder()final StringThe cardinality of the attribute.final StringThe default value of the attribute, if applicable.final StringA description of the attribute.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends PolicyAttributeTypeDescription.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
attributeName
The name of the attribute.
- Returns:
- The name of the attribute.
-
attributeType
The type of the attribute. For example,
BooleanorInteger.- Returns:
- The type of the attribute. For example,
BooleanorInteger.
-
description
A description of the attribute.
- Returns:
- A description of the attribute.
-
defaultValue
The default value of the attribute, if applicable.
- Returns:
- The default value of the attribute, if applicable.
-
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:
- 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
-
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-