@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()
List of endpoints.
|
int |
hashCode() |
void |
setEndpoints(Collection<Endpoint> endpoints)
List of endpoints.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEndpointsResult |
withEndpoints(Collection<Endpoint> endpoints)
List of endpoints.
|
DescribeEndpointsResult |
withEndpoints(Endpoint... endpoints)
List of endpoints.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setEndpoints(Collection<Endpoint> endpoints)
List of endpoints.
endpoints - List of endpoints.public DescribeEndpointsResult withEndpoints(Endpoint... endpoints)
List of endpoints.
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 - List of endpoints.public DescribeEndpointsResult withEndpoints(Collection<Endpoint> endpoints)
List of endpoints.
endpoints - List of endpoints.public String toString()
toString in class ObjectObject.toString()public DescribeEndpointsResult clone()