com.amazonaws.services.simpledb.model
Class ReplaceableAttribute

java.lang.Object
  extended by com.amazonaws.services.simpledb.model.ReplaceableAttribute

public class ReplaceableAttribute
extends Object

Replaceable Attribute


Constructor Summary
ReplaceableAttribute()
           
 
Method Summary
 String getName()
          Attribute Name.
 Boolean getReplace()
          Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value.
 String getValue()
          Attribute Value.
 Boolean isReplace()
          Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value.
 void setName(String name)
          Attribute Name.
 void setReplace(Boolean replace)
          Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value.
 void setValue(String value)
          Attribute Value.
 String toString()
           
 ReplaceableAttribute withName(String name)
          Attribute Name.
 ReplaceableAttribute withReplace(Boolean replace)
          Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value.
 ReplaceableAttribute withValue(String value)
          Attribute Value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplaceableAttribute

public ReplaceableAttribute()
Method Detail

getName

public String getName()
Attribute Name.

Returns:
Attribute Name.

setName

public void setName(String name)
Attribute Name.

Parameters:
name - Attribute Name.

withName

public ReplaceableAttribute withName(String name)
Attribute Name.

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

Parameters:
name - Attribute Name.
Returns:
A reference to this updated object so that method calls can be chained together.

getValue

public String getValue()
Attribute Value.

Returns:
Attribute Value.

setValue

public void setValue(String value)
Attribute Value.

Parameters:
value - Attribute Value.

withValue

public ReplaceableAttribute withValue(String value)
Attribute Value.

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

Parameters:
value - Attribute Value.
Returns:
A reference to this updated object so that method calls can be chained together.

isReplace

public Boolean isReplace()
Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

Returns:
Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

setReplace

public void setReplace(Boolean replace)
Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

Parameters:
replace - Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

withReplace

public ReplaceableAttribute withReplace(Boolean replace)
Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

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

Parameters:
replace - Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.
Returns:
A reference to this updated object so that method calls can be chained together.

getReplace

public Boolean getReplace()
Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

Returns:
Flag to specify whether to replace the Attribute/Value or to add a new Attribute/Value. The default setting is false.

toString

public String toString()
Overrides:
toString in class Object


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