@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Alias extends Object implements Serializable, Cloneable, StructuredPojo
An alias for an edge.
Constructor and Description |
---|
Alias() |
Modifier and Type | Method and Description |
---|---|
Alias |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The canonical name of the alias.
|
List<String> |
getNames()
A list of names for the alias, including the canonical name.
|
String |
getType()
The type of the alias.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The canonical name of the alias.
|
void |
setNames(Collection<String> names)
A list of names for the alias, including the canonical name.
|
void |
setType(String type)
The type of the alias.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Alias |
withName(String name)
The canonical name of the alias.
|
Alias |
withNames(Collection<String> names)
A list of names for the alias, including the canonical name.
|
Alias |
withNames(String... names)
A list of names for the alias, including the canonical name.
|
Alias |
withType(String type)
The type of the alias.
|
public void setName(String name)
The canonical name of the alias.
name
- The canonical name of the alias.public String getName()
The canonical name of the alias.
public Alias withName(String name)
The canonical name of the alias.
name
- The canonical name of the alias.public List<String> getNames()
A list of names for the alias, including the canonical name.
public void setNames(Collection<String> names)
A list of names for the alias, including the canonical name.
names
- A list of names for the alias, including the canonical name.public Alias withNames(String... names)
A list of names for the alias, including the canonical name.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- A list of names for the alias, including the canonical name.public Alias withNames(Collection<String> names)
A list of names for the alias, including the canonical name.
names
- A list of names for the alias, including the canonical name.public void setType(String type)
The type of the alias.
type
- The type of the alias.public String getType()
The type of the alias.
public Alias withType(String type)
The type of the alias.
type
- The type of the alias.public String toString()
toString
in class Object
Object.toString()
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.