@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyAttributeTypeDescription extends Object implements Serializable, Cloneable
Information about a policy attribute type.
Constructor and Description |
---|
PolicyAttributeTypeDescription() |
Modifier and Type | Method and Description |
---|---|
PolicyAttributeTypeDescription |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute.
|
String |
getAttributeType()
The type of the attribute.
|
String |
getCardinality()
The cardinality of the attribute.
|
String |
getDefaultValue()
The default value of the attribute, if applicable.
|
String |
getDescription()
A description of the attribute.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the attribute.
|
void |
setAttributeType(String attributeType)
The type of the attribute.
|
void |
setCardinality(String cardinality)
The cardinality of the attribute.
|
void |
setDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
|
void |
setDescription(String description)
A description of the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyAttributeTypeDescription |
withAttributeName(String attributeName)
The name of the attribute.
|
PolicyAttributeTypeDescription |
withAttributeType(String attributeType)
The type of the attribute.
|
PolicyAttributeTypeDescription |
withCardinality(String cardinality)
The cardinality of the attribute.
|
PolicyAttributeTypeDescription |
withDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
|
PolicyAttributeTypeDescription |
withDescription(String description)
A description of the attribute.
|
public void setAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public String getAttributeName()
The name of the attribute.
public PolicyAttributeTypeDescription withAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public void setAttributeType(String attributeType)
The type of the attribute. For example, Boolean
or Integer
.
attributeType
- The type of the attribute. For example, Boolean
or Integer
.public String getAttributeType()
The type of the attribute. For example, Boolean
or Integer
.
Boolean
or Integer
.public PolicyAttributeTypeDescription withAttributeType(String attributeType)
The type of the attribute. For example, Boolean
or Integer
.
attributeType
- The type of the attribute. For example, Boolean
or Integer
.public void setDescription(String description)
A description of the attribute.
description
- A description of the attribute.public String getDescription()
A description of the attribute.
public PolicyAttributeTypeDescription withDescription(String description)
A description of the attribute.
description
- A description of the attribute.public void setDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
defaultValue
- The default value of the attribute, if applicable.public String getDefaultValue()
The default value of the attribute, if applicable.
public PolicyAttributeTypeDescription withDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
defaultValue
- The default value of the attribute, if applicable.public void setCardinality(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
public String getCardinality()
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 withCardinality(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
public String toString()
toString
in class Object
Object.toString()
public PolicyAttributeTypeDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.