@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
Represents the information required for client programs to connect to the endpoint for a DAX cluster.
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The DNS hostname of the endpoint.
|
Integer |
getPort()
The port number that applications should use to connect to the endpoint.
|
String |
getURL()
The URL that applications should use to connect to the endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddress(String address)
The DNS hostname of the endpoint.
|
void |
setPort(Integer port)
The port number that applications should use to connect to the endpoint.
|
void |
setURL(String uRL)
The URL that applications should use to connect to the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
Endpoint |
withAddress(String address)
The DNS hostname of the endpoint.
|
Endpoint |
withPort(Integer port)
The port number that applications should use to connect to the endpoint.
|
Endpoint |
withURL(String uRL)
The URL that applications should use to connect to the endpoint.
|
public void setAddress(String address)
The DNS hostname of the endpoint.
address
- The DNS hostname of the endpoint.public String getAddress()
The DNS hostname of the endpoint.
public Endpoint withAddress(String address)
The DNS hostname of the endpoint.
address
- The DNS hostname of the endpoint.public void setPort(Integer port)
The port number that applications should use to connect to the endpoint.
port
- The port number that applications should use to connect to the endpoint.public Integer getPort()
The port number that applications should use to connect to the endpoint.
public Endpoint withPort(Integer port)
The port number that applications should use to connect to the endpoint.
port
- The port number that applications should use to connect to the endpoint.public void setURL(String uRL)
The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.
uRL
- The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax"
protocol and 9111 for the "daxs" protocol.public String getURL()
The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.
public Endpoint withURL(String uRL)
The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.
uRL
- The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax"
protocol and 9111 for the "daxs" protocol.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.