Class Attribute

java.lang.Object
com.amazonaws.services.simpledb.model.Attribute
All Implemented Interfaces:
Serializable, Cloneable

public class Attribute extends Object implements Serializable, Cloneable

See Also:
  • Constructor Details

    • Attribute

      public Attribute()
      Default constructor for Attribute object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • Attribute

      public Attribute(String name, String value)
      Constructs a new Attribute object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      name - The name of the attribute.
      value - The value of the attribute.
  • Method Details

    • setName

      public void setName(String name)
      The name of the attribute.
      Parameters:
      name - The name of the attribute.
    • getName

      public String getName()
      The name of the attribute.
      Returns:
      The name of the attribute.
    • withName

      public Attribute withName(String name)
      The name of the attribute.
      Parameters:
      name - The name of the attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAlternateNameEncoding

      public void setAlternateNameEncoding(String alternateNameEncoding)

      Parameters:
      alternateNameEncoding -
    • getAlternateNameEncoding

      public String getAlternateNameEncoding()

      Returns:
    • withAlternateNameEncoding

      public Attribute withAlternateNameEncoding(String alternateNameEncoding)

      Parameters:
      alternateNameEncoding -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setValue

      public void setValue(String value)
      The value of the attribute.
      Parameters:
      value - The value of the attribute.
    • getValue

      public String getValue()
      The value of the attribute.
      Returns:
      The value of the attribute.
    • withValue

      public Attribute withValue(String value)
      The value of the attribute.
      Parameters:
      value - The value of the attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAlternateValueEncoding

      public void setAlternateValueEncoding(String alternateValueEncoding)

      Parameters:
      alternateValueEncoding -
    • getAlternateValueEncoding

      public String getAlternateValueEncoding()

      Returns:
    • withAlternateValueEncoding

      public Attribute withAlternateValueEncoding(String alternateValueEncoding)

      Parameters:
      alternateValueEncoding -
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Attribute clone()
      Overrides:
      clone in class Object