@Generated(value="software.amazon.awssdk:codegen") public final class PolicyAttributeTypeDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
Information about a policy attribute type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyAttributeTypeDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the attribute.
|
String |
attributeType()
The type of the attribute.
|
static PolicyAttributeTypeDescription.Builder |
builder() |
String |
cardinality()
The cardinality of the attribute.
|
String |
defaultValue()
The default value of the attribute, if applicable.
|
String |
description()
A description of the attribute.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyAttributeTypeDescription.Builder> |
serializableBuilderClass() |
PolicyAttributeTypeDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attributeName()
The name of the attribute.
public final String attributeType()
The type of the attribute. For example, Boolean or Integer.
Boolean or Integer.public final String description()
A description of the attribute.
public final String defaultValue()
The default value of the attribute, if applicable.
public final 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
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
public PolicyAttributeTypeDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>public static PolicyAttributeTypeDescription.Builder builder()
public static Class<? extends PolicyAttributeTypeDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.