Class Attribute
java.lang.Object
com.amazonaws.services.simpledb.model.Attribute
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
The name of the attribute.getValue()
The value of the attribute.int
hashCode()
void
setAlternateNameEncoding
(String alternateNameEncoding) void
setAlternateValueEncoding
(String alternateValueEncoding) void
The name of the attribute.void
The value of the attribute.toString()
Returns a string representation of this object; useful for testing and debugging.withAlternateNameEncoding
(String alternateNameEncoding) withAlternateValueEncoding
(String alternateValueEncoding) The name of the attribute.The value of the attribute.
-
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
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
The name of the attribute.- Parameters:
name
- The name of the attribute.
-
getName
The name of the attribute.- Returns:
- The name of the attribute.
-
withName
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
- Parameters:
alternateNameEncoding
-
-
getAlternateNameEncoding
- Returns:
-
withAlternateNameEncoding
- Parameters:
alternateNameEncoding
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value of the attribute.- Parameters:
value
- The value of the attribute.
-
getValue
The value of the attribute.- Returns:
- The value of the attribute.
-
withValue
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
- Parameters:
alternateValueEncoding
-
-
getAlternateValueEncoding
- Returns:
-
withAlternateValueEncoding
- Parameters:
alternateValueEncoding
-- 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
-