@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
An endpoint information details.
| Constructor and Description | 
|---|
| Endpoint() | 
| Modifier and Type | Method and Description | 
|---|---|
| Endpoint | clone() | 
| boolean | equals(Object obj) | 
| String | getAddress()
 IP address of the endpoint. | 
| Long | getCachePeriodInMinutes()
 Endpoint cache time to live (TTL) value. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAddress(String address)
 IP address of the endpoint. | 
| void | setCachePeriodInMinutes(Long cachePeriodInMinutes)
 Endpoint cache time to live (TTL) value. | 
| String | toString()Returns a string representation of this object. | 
| Endpoint | withAddress(String address)
 IP address of the endpoint. | 
| Endpoint | withCachePeriodInMinutes(Long cachePeriodInMinutes)
 Endpoint cache time to live (TTL) value. | 
public void setAddress(String address)
IP address of the endpoint.
address - IP address of the endpoint.public String getAddress()
IP address of the endpoint.
public Endpoint withAddress(String address)
IP address of the endpoint.
address - IP address of the endpoint.public void setCachePeriodInMinutes(Long cachePeriodInMinutes)
Endpoint cache time to live (TTL) value.
cachePeriodInMinutes - Endpoint cache time to live (TTL) value.public Long getCachePeriodInMinutes()
Endpoint cache time to live (TTL) value.
public Endpoint withCachePeriodInMinutes(Long cachePeriodInMinutes)
Endpoint cache time to live (TTL) value.
cachePeriodInMinutes - Endpoint cache time to live (TTL) value.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.