@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelAlias extends Object implements Serializable, Cloneable, StructuredPojo
A potential alias of for a given label.
Constructor and Description |
---|
LabelAlias() |
Modifier and Type | Method and Description |
---|---|
LabelAlias |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of an alias for a given label.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of an alias for a given label.
|
String |
toString()
Returns a string representation of this object.
|
LabelAlias |
withName(String name)
The name of an alias for a given label.
|
public void setName(String name)
The name of an alias for a given label.
name
- The name of an alias for a given label.public String getName()
The name of an alias for a given label.
public LabelAlias withName(String name)
The name of an alias for a given label.
name
- The name of an alias for a given label.public String toString()
toString
in class Object
Object.toString()
public LabelAlias clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.