@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerNodeEndpoint extends Object implements Serializable, Cloneable
The endpoint from which data should be migrated.
Constructor and Description |
---|
CustomerNodeEndpoint() |
Modifier and Type | Method and Description |
---|---|
CustomerNodeEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The address of the node endpoint
|
Integer |
getPort()
The port of the node endpoint
|
int |
hashCode() |
void |
setAddress(String address)
The address of the node endpoint
|
void |
setPort(Integer port)
The port of the node endpoint
|
String |
toString()
Returns a string representation of this object.
|
CustomerNodeEndpoint |
withAddress(String address)
The address of the node endpoint
|
CustomerNodeEndpoint |
withPort(Integer port)
The port of the node endpoint
|
public void setAddress(String address)
The address of the node endpoint
address
- The address of the node endpointpublic String getAddress()
The address of the node endpoint
public CustomerNodeEndpoint withAddress(String address)
The address of the node endpoint
address
- The address of the node endpointpublic void setPort(Integer port)
The port of the node endpoint
port
- The port of the node endpointpublic Integer getPort()
The port of the node endpoint
public CustomerNodeEndpoint withPort(Integer port)
The port of the node endpoint
port
- The port of the node endpointpublic String toString()
toString
in class Object
Object.toString()
public CustomerNodeEndpoint clone()