@Generated(value="software.amazon.awssdk:codegen") public class PolicyAttributeTypeDescription extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends PolicyAttributeTypeDescription.Builder> |
serializableBuilderClass() |
PolicyAttributeTypeDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String attributeName()
The name of the attribute.
public String attributeType()
The type of the attribute. For example, Boolean
or Integer
.
Boolean
or Integer
.public String description()
A description of the attribute.
public String defaultValue()
The default value of the attribute, if applicable.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyAttributeTypeDescription.Builder,PolicyAttributeTypeDescription>
public static PolicyAttributeTypeDescription.Builder builder()
public static Class<? extends PolicyAttributeTypeDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.