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 PolicyAttributeTypeDescriptionclone()booleanequals(Object obj)StringgetAttributeName()The name of the attribute.StringgetAttributeType()The type of the attribute.StringgetCardinality()The cardinality of the attribute.StringgetDefaultValue()The default value of the attribute, if applicable.StringgetDescription()A description of the attribute.inthashCode()voidsetAttributeName(String attributeName)The name of the attribute.voidsetAttributeType(String attributeType)The type of the attribute.voidsetCardinality(String cardinality)The cardinality of the attribute.voidsetDefaultValue(String defaultValue)The default value of the attribute, if applicable.voidsetDescription(String description)A description of the attribute.StringtoString()Returns a string representation of this object; useful for testing and debugging.PolicyAttributeTypeDescriptionwithAttributeName(String attributeName)The name of the attribute.PolicyAttributeTypeDescriptionwithAttributeType(String attributeType)The type of the attribute.PolicyAttributeTypeDescriptionwithCardinality(String cardinality)The cardinality of the attribute.PolicyAttributeTypeDescriptionwithDefaultValue(String defaultValue)The default value of the attribute, if applicable.PolicyAttributeTypeDescriptionwithDescription(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,
BooleanorInteger.- Parameters:
attributeType- The type of the attribute. For example,BooleanorInteger.
-
getAttributeType
public String getAttributeType()
The type of the attribute. For example,
BooleanorInteger.- Returns:
- The type of the attribute. For example,
BooleanorInteger.
-
withAttributeType
public PolicyAttributeTypeDescription withAttributeType(String attributeType)
The type of the attribute. For example,
BooleanorInteger.- Parameters:
attributeType- The type of the attribute. For example,BooleanorInteger.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PolicyAttributeTypeDescription clone()
-
-