public class Endpoint extends Object implements Serializable
| Constructor and Description |
|---|
Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Returns the value of the address property for this object.
|
Long |
getCachePeriodInMinutes()
Returns the value of the cachePeriodInMinutes property for this object.
|
int |
hashCode() |
void |
setAddress(String address)
Sets the value of address
|
void |
setCachePeriodInMinutes(Long cachePeriodInMinutes)
Sets the value of cachePeriodInMinutes
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Endpoint |
withAddress(String address)
Sets the value of the address property for this object.
|
Endpoint |
withCachePeriodInMinutes(Long cachePeriodInMinutes)
Sets the value of the cachePeriodInMinutes property for this object.
|
public String getAddress()
public void setAddress(String address)
address - The new value for the address property for this object.public Endpoint withAddress(String address)
Returns a reference to this object so that method calls can be chained together.
address - The new value for the address property for this object.public Long getCachePeriodInMinutes()
public void setCachePeriodInMinutes(Long cachePeriodInMinutes)
cachePeriodInMinutes - The new value for the cachePeriodInMinutes
property for this object.public Endpoint withCachePeriodInMinutes(Long cachePeriodInMinutes)
Returns a reference to this object so that method calls can be chained together.
cachePeriodInMinutes - The new value for the cachePeriodInMinutes
property for this object.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.