public class ReplaceableAttribute
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReplaceableAttribute()
Default constructor for a new ReplaceableAttribute object.
|
ReplaceableAttribute(java.lang.String name,
java.lang.String value,
java.lang.Boolean replace)
Constructs a new ReplaceableAttribute object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the replaceable attribute.
|
java.lang.Boolean |
getReplace()
A flag specifying whether or not to replace the attribute/value pair
or to add a new attribute/value pair.
|
java.lang.String |
getValue()
The value of the replaceable attribute.
|
int |
hashCode() |
java.lang.Boolean |
isReplace()
A flag specifying whether or not to replace the attribute/value pair
or to add a new attribute/value pair.
|
void |
setName(java.lang.String name)
The name of the replaceable attribute.
|
void |
setReplace(java.lang.Boolean replace)
A flag specifying whether or not to replace the attribute/value pair
or to add a new attribute/value pair.
|
void |
setValue(java.lang.String value)
The value of the replaceable attribute.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplaceableAttribute |
withName(java.lang.String name)
The name of the replaceable attribute.
|
ReplaceableAttribute |
withReplace(java.lang.Boolean replace)
A flag specifying whether or not to replace the attribute/value pair
or to add a new attribute/value pair.
|
ReplaceableAttribute |
withValue(java.lang.String value)
The value of the replaceable attribute.
|
public ReplaceableAttribute()
public ReplaceableAttribute(java.lang.String name, java.lang.String value, java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the replaceable attribute.public ReplaceableAttribute withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the replaceable attribute.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value of the replaceable attribute.public ReplaceableAttribute withValue(java.lang.String value)
Returns a reference to this object so that method calls can be chained together.
value
- The value of the replaceable attribute.public java.lang.Boolean isReplace()
false
.false
.public void setReplace(java.lang.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 ReplaceableAttribute withReplace(java.lang.Boolean replace)
false
.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.Boolean getReplace()
false
.false
.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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.