com.amazonaws.services.elasticloadbalancing.model
Class PolicyAttributeTypeDescription

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.PolicyAttributeTypeDescription

public class PolicyAttributeTypeDescription
extends Object

The PolicyAttributeTypeDescription data type. This data type is used to describe values that are acceptable for the policy attribute.


Constructor Summary
PolicyAttributeTypeDescription()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAttributeName()
          The name of the attribute associated with the policy type.
 String getAttributeType()
          The type of attribute.
 String getCardinality()
          The cardinality of the attribute.
 String getDefaultValue()
          The default value of the attribute, if applicable.
 String getDescription()
          A human-readable description of the attribute.
 int hashCode()
           
 void setAttributeName(String attributeName)
          The name of the attribute associated with the policy type.
 void setAttributeType(String attributeType)
          The type of 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 human-readable 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 associated with the policy type.
 PolicyAttributeTypeDescription withAttributeType(String attributeType)
          The type of 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 human-readable description of the attribute.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolicyAttributeTypeDescription

public PolicyAttributeTypeDescription()
Method Detail

getAttributeName

public String getAttributeName()
The name of the attribute associated with the policy type.

Returns:
The name of the attribute associated with the policy type.

setAttributeName

public void setAttributeName(String attributeName)
The name of the attribute associated with the policy type.

Parameters:
attributeName - The name of the attribute associated with the policy type.

withAttributeName

public PolicyAttributeTypeDescription withAttributeName(String attributeName)
The name of the attribute associated with the policy type.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeName - The name of the attribute associated with the policy type.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributeType

public String getAttributeType()
The type of attribute. For example, Boolean, Integer, etc.

Returns:
The type of attribute. For example, Boolean, Integer, etc.

setAttributeType

public void setAttributeType(String attributeType)
The type of attribute. For example, Boolean, Integer, etc.

Parameters:
attributeType - The type of attribute. For example, Boolean, Integer, etc.

withAttributeType

public PolicyAttributeTypeDescription withAttributeType(String attributeType)
The type of attribute. For example, Boolean, Integer, etc.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeType - The type of attribute. For example, Boolean, Integer, etc.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A human-readable description of the attribute.

Returns:
A human-readable description of the attribute.

setDescription

public void setDescription(String description)
A human-readable description of the attribute.

Parameters:
description - A human-readable description of the attribute.

withDescription

public PolicyAttributeTypeDescription withDescription(String description)
A human-readable description of the attribute.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A human-readable description of the attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultValue

public String getDefaultValue()
The default value of the attribute, if applicable.

Returns:
The default value of the attribute, if applicable.

setDefaultValue

public void setDefaultValue(String defaultValue)
The default value of the attribute, if applicable.

Parameters:
defaultValue - The default value of the attribute, if applicable.

withDefaultValue

public PolicyAttributeTypeDescription withDefaultValue(String defaultValue)
The default value of the attribute, if applicable.

Returns a reference to this object so that method calls can be chained together.

Parameters:
defaultValue - The default value of the attribute, if applicable.
Returns:
A reference to this updated object so that method calls can be chained together.

getCardinality

public String getCardinality()
The cardinality of the attribute. Valid Values:

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

setCardinality

public void setCardinality(String cardinality)
The cardinality of the attribute. Valid Values:

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

withCardinality

public PolicyAttributeTypeDescription withCardinality(String cardinality)
The cardinality of the attribute. Valid Values:

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.