@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
Represents an available endpoint against which to make API calls against, as well as the TTL for that endpoint.
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
An endpoint address.
|
Long |
getCachePeriodInMinutes()
The TTL for the endpoint, in minutes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddress(String address)
An endpoint address.
|
void |
setCachePeriodInMinutes(Long cachePeriodInMinutes)
The TTL for the endpoint, in minutes.
|
String |
toString()
Returns a string representation of this object.
|
Endpoint |
withAddress(String address)
An endpoint address.
|
Endpoint |
withCachePeriodInMinutes(Long cachePeriodInMinutes)
The TTL for the endpoint, in minutes.
|
public void setAddress(String address)
An endpoint address.
address
- An endpoint address.public String getAddress()
An endpoint address.
public Endpoint withAddress(String address)
An endpoint address.
address
- An endpoint address.public void setCachePeriodInMinutes(Long cachePeriodInMinutes)
The TTL for the endpoint, in minutes.
cachePeriodInMinutes
- The TTL for the endpoint, in minutes.public Long getCachePeriodInMinutes()
The TTL for the endpoint, in minutes.
public Endpoint withCachePeriodInMinutes(Long cachePeriodInMinutes)
The TTL for the endpoint, in minutes.
cachePeriodInMinutes
- The TTL for the endpoint, in minutes.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.