Class PolicyAttribute
java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.PolicyAttribute
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a policy attribute.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for PolicyAttribute object.PolicyAttribute
(String attributeName, String attributeValue) Constructs a new PolicyAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the attribute.The value of the attribute.int
hashCode()
void
setAttributeName
(String attributeName) The name of the attribute.void
setAttributeValue
(String attributeValue) The value of the attribute.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributeName
(String attributeName) The name of the attribute.withAttributeValue
(String attributeValue) The value of the attribute.
-
Constructor Details
-
PolicyAttribute
public PolicyAttribute()Default constructor for PolicyAttribute object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
PolicyAttribute
Constructs a new PolicyAttribute object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
attributeName
- The name of the attribute.attributeValue
- The value of the attribute.
-
-
Method Details
-
setAttributeName
The name of the attribute.
- Parameters:
attributeName
- The name of the attribute.
-
getAttributeName
The name of the attribute.
- Returns:
- The name of the attribute.
-
withAttributeName
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.
-
setAttributeValue
The value of the attribute.
- Parameters:
attributeValue
- The value of the attribute.
-
getAttributeValue
The value of the attribute.
- Returns:
- The value of the attribute.
-
withAttributeValue
The value of the attribute.
- Parameters:
attributeValue
- The value of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-