Class PolicyAttributeTypeDescription
- java.lang.Object
-
- software.amazon.awssdk.services.elasticloadbalancing.model.PolicyAttributeTypeDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
@Generated("software.amazon.awssdk:codegen") public final class PolicyAttributeTypeDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
Information about a policy attribute type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePolicyAttributeTypeDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattributeName()The name of the attribute.StringattributeType()The type of the attribute.static PolicyAttributeTypeDescription.Builderbuilder()Stringcardinality()The cardinality of the attribute.StringdefaultValue()The default value of the attribute, if applicable.Stringdescription()A description of the attribute.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PolicyAttributeTypeDescription.Builder>serializableBuilderClass()PolicyAttributeTypeDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
attributeName
public final String attributeName()
The name of the attribute.
- Returns:
- The name of the attribute.
-
attributeType
public final String attributeType()
The type of the attribute. For example,
BooleanorInteger.- Returns:
- The type of the attribute. For example,
BooleanorInteger.
-
description
public final String description()
A description of the attribute.
- Returns:
- A description of the attribute.
-
defaultValue
public final String defaultValue()
The default value of the attribute, if applicable.
- Returns:
- The default value of the attribute, if applicable.
-
cardinality
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
- 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
public PolicyAttributeTypeDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
-
builder
public static PolicyAttributeTypeDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends PolicyAttributeTypeDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-