Class GetDeploymentsResult
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetItems()The current page of any Deployment resources in the collection of deployment resources.inthashCode()voidsetItems(Collection<Deployment> items) The current page of any Deployment resources in the collection of deployment resources.voidsetPosition(String position) toString()Returns a string representation of this object; useful for testing and debugging.withItems(Deployment... items) The current page of any Deployment resources in the collection of deployment resources.withItems(Collection<Deployment> items) The current page of any Deployment resources in the collection of deployment resources.withPosition(String position)
-
Constructor Details
-
GetDeploymentsResult
public GetDeploymentsResult()
-
-
Method Details
-
setPosition
- Parameters:
position-
-
getPosition
- Returns:
-
withPosition
- Parameters:
position-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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)orwithItems(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-