Class GetDeploymentsResult

java.lang.Object
com.amazonaws.services.apigateway.model.GetDeploymentsResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetDeploymentsResult extends Object implements Serializable, Cloneable

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on ways to interact with your collection. The collection offers a paginated view of the contained deployments.

See Also:
  • Constructor Details

    • GetDeploymentsResult

      public GetDeploymentsResult()
  • Method Details

    • setPosition

      public void setPosition(String position)
      Parameters:
      position -
    • getPosition

      public String getPosition()
      Returns:
    • withPosition

      public GetDeploymentsResult withPosition(String position)
      Parameters:
      position -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getItems

      public List<Deployment> getItems()

      The current page of any Deployment resources in the collection of deployment resources.

      Returns:
      The current page of any Deployment resources in the collection of deployment resources.
    • setItems

      public void setItems(Collection<Deployment> items)

      The current page of any Deployment resources in the collection of deployment resources.

      Parameters:
      items - The current page of any Deployment resources in the collection of deployment resources.
    • withItems

      public GetDeploymentsResult withItems(Deployment... items)

      The current page of any Deployment resources in the collection of deployment resources.

      NOTE: This method appends the values to the existing list (if any). Use setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the existing values.

      Parameters:
      items - The current page of any Deployment resources in the collection of deployment resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withItems

      public GetDeploymentsResult withItems(Collection<Deployment> items)

      The current page of any Deployment resources in the collection of deployment resources.

      Parameters:
      items - The current page of any Deployment resources in the collection of deployment resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      public GetDeploymentsResult clone()
      Overrides:
      clone in class Object