@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelVariable extends Object implements Serializable, Cloneable, StructuredPojo
The model variable.>
Constructor and Description |
---|
ModelVariable() |
Modifier and Type | Method and Description |
---|---|
ModelVariable |
clone() |
boolean |
equals(Object obj) |
Integer |
getIndex()
The model variable's index.>
|
String |
getName()
The model variable's name.>
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIndex(Integer index)
The model variable's index.>
|
void |
setName(String name)
The model variable's name.>
|
String |
toString()
Returns a string representation of this object.
|
ModelVariable |
withIndex(Integer index)
The model variable's index.>
|
ModelVariable |
withName(String name)
The model variable's name.>
|
public void setName(String name)
The model variable's name.>
name
- The model variable's name.>public String getName()
The model variable's name.>
public ModelVariable withName(String name)
The model variable's name.>
name
- The model variable's name.>public void setIndex(Integer index)
The model variable's index.>
index
- The model variable's index.>public Integer getIndex()
The model variable's index.>
public ModelVariable withIndex(Integer index)
The model variable's index.>
index
- The model variable's index.>public String toString()
toString
in class Object
Object.toString()
public ModelVariable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.