@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEndpointsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEndpointsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEndpointsResult |
clone() |
boolean |
equals(Object obj) |
List<Endpoint> |
getEndpoints()
An
Endpoints object is returned when a DescribeEndpoints request is made. |
int |
hashCode() |
void |
setEndpoints(Collection<Endpoint> endpoints)
An
Endpoints object is returned when a DescribeEndpoints request is made. |
String |
toString()
Returns a string representation of this object.
|
DescribeEndpointsResult |
withEndpoints(Collection<Endpoint> endpoints)
An
Endpoints object is returned when a DescribeEndpoints request is made. |
DescribeEndpointsResult |
withEndpoints(Endpoint... endpoints)
An
Endpoints object is returned when a DescribeEndpoints request is made. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Endpoint> getEndpoints()
An Endpoints
object is returned when a DescribeEndpoints
request is made.
Endpoints
object is returned when a DescribeEndpoints
request is made.public void setEndpoints(Collection<Endpoint> endpoints)
An Endpoints
object is returned when a DescribeEndpoints
request is made.
endpoints
- An Endpoints
object is returned when a DescribeEndpoints
request is made.public DescribeEndpointsResult withEndpoints(Endpoint... endpoints)
An Endpoints
object is returned when a DescribeEndpoints
request is made.
NOTE: This method appends the values to the existing list (if any). Use
setEndpoints(java.util.Collection)
or withEndpoints(java.util.Collection)
if you want to
override the existing values.
endpoints
- An Endpoints
object is returned when a DescribeEndpoints
request is made.public DescribeEndpointsResult withEndpoints(Collection<Endpoint> endpoints)
An Endpoints
object is returned when a DescribeEndpoints
request is made.
endpoints
- An Endpoints
object is returned when a DescribeEndpoints
request is made.public String toString()
toString
in class Object
Object.toString()
public DescribeEndpointsResult clone()