Class DescribeVpcEndpointsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeVpcEndpointsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeVpcEndpointsRequest>
,Serializable
,Cloneable
public class DescribeVpcEndpointsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeVpcEndpointsRequest>
Contains the parameters for DescribeVpcEndpoints.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeVpcEndpointsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVpcEndpointsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<DescribeVpcEndpointsRequest>
getDryRunRequest()
This method is intended for internal use only.List<Filter>
getFilters()
One or more filters.Integer
getMaxResults()
The maximum number of items to return for this request.String
getNextToken()
The token for the next set of items to return.List<String>
getVpcEndpointIds()
One or more endpoint IDs.int
hashCode()
void
setFilters(Collection<Filter> filters)
One or more filters.void
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.void
setNextToken(String nextToken)
The token for the next set of items to return.void
setVpcEndpointIds(Collection<String> vpcEndpointIds)
One or more endpoint IDs.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVpcEndpointsRequest
withFilters(Filter... filters)
One or more filters.DescribeVpcEndpointsRequest
withFilters(Collection<Filter> filters)
One or more filters.DescribeVpcEndpointsRequest
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.DescribeVpcEndpointsRequest
withNextToken(String nextToken)
The token for the next set of items to return.DescribeVpcEndpointsRequest
withVpcEndpointIds(String... vpcEndpointIds)
One or more endpoint IDs.DescribeVpcEndpointsRequest
withVpcEndpointIds(Collection<String> vpcEndpointIds)
One or more endpoint IDs.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getVpcEndpointIds
public List<String> getVpcEndpointIds()
One or more endpoint IDs.
- Returns:
- One or more endpoint IDs.
-
setVpcEndpointIds
public void setVpcEndpointIds(Collection<String> vpcEndpointIds)
One or more endpoint IDs.
- Parameters:
vpcEndpointIds
- One or more endpoint IDs.
-
withVpcEndpointIds
public DescribeVpcEndpointsRequest withVpcEndpointIds(String... vpcEndpointIds)
One or more endpoint IDs.
NOTE: This method appends the values to the existing list (if any). Use
setVpcEndpointIds(java.util.Collection)
orwithVpcEndpointIds(java.util.Collection)
if you want to override the existing values.- Parameters:
vpcEndpointIds
- One or more endpoint IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcEndpointIds
public DescribeVpcEndpointsRequest withVpcEndpointIds(Collection<String> vpcEndpointIds)
One or more endpoint IDs.
- Parameters:
vpcEndpointIds
- One or more endpoint IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
public List<Filter> getFilters()
One or more filters.
-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
- Returns:
- One or more filters.
-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
-
-
-
setFilters
public void setFilters(Collection<Filter> filters)
One or more filters.
-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
- Parameters:
filters
- One or more filters.-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
-
-
-
withFilters
public DescribeVpcEndpointsRequest withFilters(Filter... filters)
One or more filters.
-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- One or more filters.-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
public DescribeVpcEndpointsRequest withFilters(Collection<Filter> filters)
One or more filters.
-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
- Parameters:
filters
- One or more filters.-
service-name
: The name of the AWS service. -
vpc-id
: The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
: The ID of the endpoint. -
vpc-endpoint-state
: The state of the endpoint. (pending
|available
|deleting
|deleted
)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1000, we return only 1000 items.
- Parameters:
maxResults
- The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.Constraint: If the value is greater than 1000, we return only 1000 items.
-
getMaxResults
public Integer getMaxResults()
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1000, we return only 1000 items.
- Returns:
- The maximum number of items to return for this request. The
request returns a token that you can specify in a subsequent call
to get the next set of results.
Constraint: If the value is greater than 1000, we return only 1000 items.
-
withMaxResults
public DescribeVpcEndpointsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1000, we return only 1000 items.
- Parameters:
maxResults
- The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.Constraint: If the value is greater than 1000, we return only 1000 items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a prior call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a prior call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a prior call.)
- Returns:
- The token for the next set of items to return. (You received this token from a prior call.)
-
withNextToken
public DescribeVpcEndpointsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a prior call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a prior call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<DescribeVpcEndpointsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeVpcEndpointsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpcEndpointsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-