public class Endpoint
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddress()
Returns the value of the address property for this object.
|
java.lang.Long |
getCachePeriodInMinutes()
Returns the value of the cachePeriodInMinutes property for this object.
|
int |
hashCode() |
void |
setAddress(java.lang.String address)
Sets the value of address
|
void |
setCachePeriodInMinutes(java.lang.Long cachePeriodInMinutes)
Sets the value of cachePeriodInMinutes
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Endpoint |
withAddress(java.lang.String address)
Sets the value of the address property for this object.
|
Endpoint |
withCachePeriodInMinutes(java.lang.Long cachePeriodInMinutes)
Sets the value of the cachePeriodInMinutes property for this object.
|
public java.lang.String getAddress()
public void setAddress(java.lang.String address)
address
- The new value for the address property for this object.public Endpoint withAddress(java.lang.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 java.lang.Long getCachePeriodInMinutes()
public void setCachePeriodInMinutes(java.lang.Long cachePeriodInMinutes)
cachePeriodInMinutes
- The new value for the cachePeriodInMinutes
property for this object.public Endpoint withCachePeriodInMinutes(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.