@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplaceableAttribute extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ReplaceableAttribute()
Default constructor for ReplaceableAttribute object.
|
ReplaceableAttribute(String name,
String value,
Boolean replace)
Constructs a new ReplaceableAttribute object.
|
Modifier and Type | Method and Description |
---|---|
ReplaceableAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the replaceable attribute.
|
Boolean |
getReplace()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.
|
String |
getValue()
The value of the replaceable attribute.
|
int |
hashCode() |
Boolean |
isReplace()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.
|
void |
setName(String name)
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 |
setValue(String value)
The value of the replaceable attribute.
|
String |
toString()
Returns a string representation of this object.
|
ReplaceableAttribute |
withName(String name)
The name of the replaceable attribute.
|
ReplaceableAttribute |
withReplace(Boolean replace)
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair.
|
ReplaceableAttribute |
withValue(String value)
The value of the replaceable attribute.
|
public ReplaceableAttribute()
public ReplaceableAttribute(String name, String value, Boolean replace)
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 is false
.public void setName(String name)
name
- The name of the replaceable attribute.public String getName()
public ReplaceableAttribute withName(String name)
name
- The name of the replaceable attribute.public void setValue(String value)
value
- The value of the replaceable attribute.public String getValue()
public ReplaceableAttribute withValue(String value)
value
- The value of the replaceable attribute.public void setReplace(Boolean replace)
false
.replace
- 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
.public Boolean getReplace()
false
.false
.public ReplaceableAttribute withReplace(Boolean replace)
false
.replace
- 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
.public Boolean isReplace()
false
.false
.public String toString()
toString
in class Object
Object.toString()
public ReplaceableAttribute clone()