public class PolicyAttributeTypeDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a policy attribute type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attributeName
The name of the attribute.
|
private java.lang.String |
attributeType
The type of the attribute.
|
private java.lang.String |
cardinality
The cardinality of the attribute.
|
private java.lang.String |
defaultValue
The default value of the attribute, if applicable.
|
private java.lang.String |
description
A description of the attribute.
|
Constructor and Description |
---|
PolicyAttributeTypeDescription() |
Modifier and Type | Method and Description |
---|---|
PolicyAttributeTypeDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName()
The name of the attribute.
|
java.lang.String |
getAttributeType()
The type of the attribute.
|
java.lang.String |
getCardinality()
The cardinality of the attribute.
|
java.lang.String |
getDefaultValue()
The default value of the attribute, if applicable.
|
java.lang.String |
getDescription()
A description of the attribute.
|
int |
hashCode() |
void |
setAttributeName(java.lang.String attributeName)
The name of the attribute.
|
void |
setAttributeType(java.lang.String attributeType)
The type of the attribute.
|
void |
setCardinality(java.lang.String cardinality)
The cardinality of the attribute.
|
void |
setDefaultValue(java.lang.String defaultValue)
The default value of the attribute, if applicable.
|
void |
setDescription(java.lang.String description)
A description of the attribute.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PolicyAttributeTypeDescription |
withAttributeName(java.lang.String attributeName)
The name of the attribute.
|
PolicyAttributeTypeDescription |
withAttributeType(java.lang.String attributeType)
The type of the attribute.
|
PolicyAttributeTypeDescription |
withCardinality(java.lang.String cardinality)
The cardinality of the attribute.
|
PolicyAttributeTypeDescription |
withDefaultValue(java.lang.String defaultValue)
The default value of the attribute, if applicable.
|
PolicyAttributeTypeDescription |
withDescription(java.lang.String description)
A description of the attribute.
|
private java.lang.String attributeName
The name of the attribute.
private java.lang.String attributeType
The type of the attribute. For example, Boolean
or
Integer
.
private java.lang.String description
A description of the attribute.
private java.lang.String defaultValue
The default value of the attribute, if applicable.
private java.lang.String cardinality
The cardinality of the attribute.
Valid values:
public void setAttributeName(java.lang.String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public java.lang.String getAttributeName()
The name of the attribute.
public PolicyAttributeTypeDescription withAttributeName(java.lang.String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public void setAttributeType(java.lang.String attributeType)
The type of the attribute. For example, Boolean
or
Integer
.
attributeType
- The type of the attribute. For example, Boolean
or
Integer
.public java.lang.String getAttributeType()
The type of the attribute. For example, Boolean
or
Integer
.
Boolean
or
Integer
.public PolicyAttributeTypeDescription withAttributeType(java.lang.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(java.lang.String description)
A description of the attribute.
description
- A description of the attribute.public java.lang.String getDescription()
A description of the attribute.
public PolicyAttributeTypeDescription withDescription(java.lang.String description)
A description of the attribute.
description
- A description of the attribute.public void setDefaultValue(java.lang.String defaultValue)
The default value of the attribute, if applicable.
defaultValue
- The default value of the attribute, if applicable.public java.lang.String getDefaultValue()
The default value of the attribute, if applicable.
public PolicyAttributeTypeDescription withDefaultValue(java.lang.String defaultValue)
The default value of the attribute, if applicable.
defaultValue
- The default value of the attribute, if applicable.public void setCardinality(java.lang.String cardinality)
The cardinality of the attribute.
Valid values:
cardinality
- The cardinality of the attribute.
Valid values:
public java.lang.String getCardinality()
The cardinality of the attribute.
Valid values:
Valid values:
public PolicyAttributeTypeDescription withCardinality(java.lang.String cardinality)
The cardinality of the attribute.
Valid values:
cardinality
- The cardinality of the attribute.
Valid values:
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PolicyAttributeTypeDescription clone()
clone
in class java.lang.Object