Class ReplaceableAttribute
java.lang.Object
com.amazonaws.services.simpledb.model.ReplaceableAttribute
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ReplaceableAttribute object.ReplaceableAttribute
(String name, String value, Boolean replace) Constructs a new ReplaceableAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
The name of the replaceable attribute.A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.getValue()
The value of the replaceable attribute.int
hashCode()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.void
The name of the replaceable attribute.void
setReplace
(Boolean replace) A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.void
The value of the replaceable attribute.toString()
Returns a string representation of this object; useful for testing and debugging.The name of the replaceable attribute.withReplace
(Boolean replace) A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.The value of the replaceable attribute.
-
Constructor Details
-
ReplaceableAttribute
public ReplaceableAttribute()Default constructor for ReplaceableAttribute object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ReplaceableAttribute
Constructs a new ReplaceableAttribute object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
name
- The name of the replaceable attribute.value
- The value of the replaceable attribute.replace
- A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.
-
-
Method Details
-
setName
The name of the replaceable attribute.- Parameters:
name
- The name of the replaceable attribute.
-
getName
The name of the replaceable attribute.- Returns:
- The name of the replaceable attribute.
-
withName
The name of the replaceable attribute.- Parameters:
name
- The name of the replaceable attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value of the replaceable attribute.- Parameters:
value
- The value of the replaceable attribute.
-
getValue
The value of the replaceable attribute.- Returns:
- The value of the replaceable attribute.
-
withValue
The value of the replaceable attribute.- Parameters:
value
- The value of the replaceable attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplace
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.- Parameters:
replace
- A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.
-
getReplace
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.- Returns:
- A flag specifying whether or not to replace the attribute/value
pair or to add a new attribute/value pair. The default setting is
false
.
-
withReplace
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.- Parameters:
replace
- A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReplace
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting isfalse
.- Returns:
- A flag specifying whether or not to replace the attribute/value
pair or to add a new attribute/value pair. The default setting is
false
.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-