public class GetDeploymentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.util.List<Deployment> |
items
The current page of any Deployment resources in the collection of
deployment resources.
|
private java.lang.String |
position |
Constructor and Description |
---|
GetDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
GetDeploymentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Deployment> |
getItems()
The current page of any Deployment resources in the collection of
deployment resources.
|
java.lang.String |
getPosition() |
int |
hashCode() |
void |
setItems(java.util.Collection<Deployment> items)
The current page of any Deployment resources in the collection of
deployment resources.
|
void |
setPosition(java.lang.String position) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDeploymentsResult |
withItems(java.util.Collection<Deployment> items)
The current page of any Deployment resources in the collection of
deployment resources.
|
GetDeploymentsResult |
withItems(Deployment... items)
The current page of any Deployment resources in the collection of
deployment resources.
|
GetDeploymentsResult |
withPosition(java.lang.String position) |
private java.lang.String position
private java.util.List<Deployment> items
The current page of any Deployment resources in the collection of deployment resources.
public void setPosition(java.lang.String position)
position
- public java.lang.String getPosition()
public GetDeploymentsResult withPosition(java.lang.String position)
position
- public java.util.List<Deployment> getItems()
The current page of any Deployment resources in the collection of deployment resources.
public void setItems(java.util.Collection<Deployment> items)
The current page of any Deployment resources in the collection of deployment resources.
items
- The current page of any Deployment resources in the
collection of deployment resources.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.
items
- The current page of any Deployment resources in the
collection of deployment resources.public GetDeploymentsResult withItems(java.util.Collection<Deployment> items)
The current page of any Deployment resources in the collection of deployment resources.
items
- The current page of any Deployment resources in the
collection of deployment resources.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetDeploymentsResult clone()
clone
in class java.lang.Object