@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeGenNodeArg extends Object implements Serializable, Cloneable, StructuredPojo
An argument or property of a node.
Constructor and Description |
---|
CodeGenNodeArg() |
Modifier and Type | Method and Description |
---|---|
CodeGenNodeArg |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the argument or property.
|
Boolean |
getParam()
True if the value is used as a parameter.
|
String |
getValue()
The value of the argument or property.
|
int |
hashCode() |
Boolean |
isParam()
True if the value is used as a parameter.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the argument or property.
|
void |
setParam(Boolean param)
True if the value is used as a parameter.
|
void |
setValue(String value)
The value of the argument or property.
|
String |
toString()
Returns a string representation of this object.
|
CodeGenNodeArg |
withName(String name)
The name of the argument or property.
|
CodeGenNodeArg |
withParam(Boolean param)
True if the value is used as a parameter.
|
CodeGenNodeArg |
withValue(String value)
The value of the argument or property.
|
public void setName(String name)
The name of the argument or property.
name
- The name of the argument or property.public String getName()
The name of the argument or property.
public CodeGenNodeArg withName(String name)
The name of the argument or property.
name
- The name of the argument or property.public void setValue(String value)
The value of the argument or property.
value
- The value of the argument or property.public String getValue()
The value of the argument or property.
public CodeGenNodeArg withValue(String value)
The value of the argument or property.
value
- The value of the argument or property.public void setParam(Boolean param)
True if the value is used as a parameter.
param
- True if the value is used as a parameter.public Boolean getParam()
True if the value is used as a parameter.
public CodeGenNodeArg withParam(Boolean param)
True if the value is used as a parameter.
param
- True if the value is used as a parameter.public Boolean isParam()
True if the value is used as a parameter.
public String toString()
toString
in class Object
Object.toString()
public CodeGenNodeArg clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.