|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpledb.model.Attribute
public class Attribute
Constructor Summary | |
---|---|
Attribute()
Default constructor for a new Attribute object. |
|
Attribute(java.lang.String name,
java.lang.String value)
Constructs a new Attribute object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAlternateNameEncoding()
|
java.lang.String |
getAlternateValueEncoding()
|
java.lang.String |
getName()
The name of the attribute. |
java.lang.String |
getValue()
The value of the attribute. |
int |
hashCode()
|
void |
setAlternateNameEncoding(java.lang.String alternateNameEncoding)
|
void |
setAlternateValueEncoding(java.lang.String alternateValueEncoding)
|
void |
setName(java.lang.String name)
The name of the attribute. |
void |
setValue(java.lang.String value)
The value of the attribute. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Attribute |
withAlternateNameEncoding(java.lang.String alternateNameEncoding)
|
Attribute |
withAlternateValueEncoding(java.lang.String alternateValueEncoding)
|
Attribute |
withName(java.lang.String name)
The name of the attribute. |
Attribute |
withValue(java.lang.String value)
The value of the attribute. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
public Attribute(java.lang.String name, java.lang.String value)
name
- The name of the attribute.value
- The value of the attribute.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the attribute.public Attribute withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the attribute.
public java.lang.String getAlternateNameEncoding()
public void setAlternateNameEncoding(java.lang.String alternateNameEncoding)
alternateNameEncoding
- public Attribute withAlternateNameEncoding(java.lang.String alternateNameEncoding)
Returns a reference to this object so that method calls can be chained together.
alternateNameEncoding
-
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value of the attribute.public Attribute withValue(java.lang.String value)
Returns a reference to this object so that method calls can be chained together.
value
- The value of the attribute.
public java.lang.String getAlternateValueEncoding()
public void setAlternateValueEncoding(java.lang.String alternateValueEncoding)
alternateValueEncoding
- public Attribute withAlternateValueEncoding(java.lang.String alternateValueEncoding)
Returns a reference to this object so that method calls can be chained together.
alternateValueEncoding
-
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |