@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) |
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.