@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEndpointsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEndpointsResult() |
Modifier and Type | Method and Description |
---|---|
ListEndpointsResult |
clone() |
boolean |
equals(Object obj) |
List<Endpoint> |
getEndpoints()
The endpoints returned by the call.
|
String |
getNextToken()
If
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setEndpoints(Collection<Endpoint> endpoints)
The endpoints returned by the call.
|
void |
setNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListEndpointsResult |
withEndpoints(Collection<Endpoint> endpoints)
The endpoints returned by the call.
|
ListEndpointsResult |
withEndpoints(Endpoint... endpoints)
The endpoints returned by the call.
|
ListEndpointsResult |
withNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Endpoint> getEndpoints()
The endpoints returned by the call.
public void setEndpoints(Collection<Endpoint> endpoints)
The endpoints returned by the call.
endpoints
- The endpoints returned by the call.public ListEndpointsResult withEndpoints(Endpoint... endpoints)
The endpoints returned by the call.
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
- The endpoints returned by the call.public ListEndpointsResult withEndpoints(Collection<Endpoint> endpoints)
The endpoints returned by the call.
endpoints
- The endpoints returned by the call.public void setNextToken(String nextToken)
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken
- If nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String getNextToken()
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public ListEndpointsResult withNextToken(String nextToken)
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken
- If nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String toString()
toString
in class Object
Object.toString()
public ListEndpointsResult clone()