@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetDescription extends Object implements Serializable, Cloneable
Information about a target.
Constructor and Description |
---|
TargetDescription() |
Modifier and Type | Method and Description |
---|---|
TargetDescription |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the target.
|
Integer |
getPort()
The port on which the target is listening.
|
int |
hashCode() |
void |
setId(String id)
The ID of the target.
|
void |
setPort(Integer port)
The port on which the target is listening.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TargetDescription |
withId(String id)
The ID of the target.
|
TargetDescription |
withPort(Integer port)
The port on which the target is listening.
|
public void setId(String id)
The ID of the target.
id
- The ID of the target.public String getId()
The ID of the target.
public TargetDescription withId(String id)
The ID of the target.
id
- The ID of the target.public void setPort(Integer port)
The port on which the target is listening.
port
- The port on which the target is listening.public Integer getPort()
The port on which the target is listening.
public TargetDescription withPort(Integer port)
The port on which the target is listening.
port
- The port on which the target is listening.public String toString()
toString
in class Object
Object.toString()
public TargetDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.