@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEndpointAccessResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEndpointAccessResult() |
Modifier and Type | Method and Description |
---|---|
ListEndpointAccessResult |
clone() |
boolean |
equals(Object obj) |
List<EndpointAccess> |
getEndpoints()
The returned VPC endpoints.
|
String |
getNextToken()
When
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setEndpoints(Collection<EndpointAccess> endpoints)
The returned VPC endpoints.
|
void |
setNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListEndpointAccessResult |
withEndpoints(Collection<EndpointAccess> endpoints)
The returned VPC endpoints.
|
ListEndpointAccessResult |
withEndpoints(EndpointAccess... endpoints)
The returned VPC endpoints.
|
ListEndpointAccessResult |
withNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EndpointAccess> getEndpoints()
The returned VPC endpoints.
public void setEndpoints(Collection<EndpointAccess> endpoints)
The returned VPC endpoints.
endpoints
- The returned VPC endpoints.public ListEndpointAccessResult withEndpoints(EndpointAccess... endpoints)
The returned VPC 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
- The returned VPC endpoints.public ListEndpointAccessResult withEndpoints(Collection<EndpointAccess> endpoints)
The returned VPC endpoints.
endpoints
- The returned VPC endpoints.public void setNextToken(String nextToken)
When 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.
nextToken
- When 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.public String getNextToken()
When 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.
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.public ListEndpointAccessResult withNextToken(String nextToken)
When 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.
nextToken
- When 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.public String toString()
toString
in class Object
Object.toString()
public ListEndpointAccessResult clone()