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:
  • Constructor Details

    • DescribeVpcEndpointsRequest

      public DescribeVpcEndpointsRequest()
  • Method Details

    • 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) or withVpcEndpointIds(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) or withFilters(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 interface DryRunSupportedRequest<DescribeVpcEndpointsRequest>
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: