Class PolicyAttributeTypeDescription
- java.lang.Object
-
- com.amazonaws.services.elasticloadbalancing.model.PolicyAttributeTypeDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PolicyAttributeTypeDescription extends Object implements Serializable, Cloneable
Information about a policy attribute type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyAttributeTypeDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAttributeName
public void setAttributeName(String attributeName)
The name of the attribute.
- Parameters:
attributeName
- The name of the attribute.
-
getAttributeName
public String getAttributeName()
The name of the attribute.
- Returns:
- The name of the attribute.
-
withAttributeName
public PolicyAttributeTypeDescription withAttributeName(String attributeName)
The name of the attribute.
- Parameters:
attributeName
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributeType
public void setAttributeType(String attributeType)
The type of the attribute. For example,
Boolean
orInteger
.- Parameters:
attributeType
- The type of the attribute. For example,Boolean
orInteger
.
-
getAttributeType
public String getAttributeType()
The type of the attribute. For example,
Boolean
orInteger
.- Returns:
- The type of the attribute. For example,
Boolean
orInteger
.
-
withAttributeType
public PolicyAttributeTypeDescription withAttributeType(String attributeType)
The type of the attribute. For example,
Boolean
orInteger
.- Parameters:
attributeType
- The type of the attribute. For example,Boolean
orInteger
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the attribute.
- Parameters:
description
- A description of the attribute.
-
getDescription
public String getDescription()
A description of the attribute.
- Returns:
- A description of the attribute.
-
withDescription
public PolicyAttributeTypeDescription withDescription(String description)
A description of the attribute.
- Parameters:
description
- A description of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultValue
public void setDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
- Parameters:
defaultValue
- The default value of the attribute, if applicable.
-
getDefaultValue
public String getDefaultValue()
The default value of the attribute, if applicable.
- Returns:
- The default value of the attribute, if applicable.
-
withDefaultValue
public PolicyAttributeTypeDescription withDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
- Parameters:
defaultValue
- The default value of the attribute, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCardinality
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 can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Parameters:
cardinality
- The cardinality of the attribute.Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
-
getCardinality
public String getCardinality()
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- 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 can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
-
withCardinality
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 can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Parameters:
cardinality
- The cardinality of the attribute.Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PolicyAttributeTypeDescription clone()
-
-