@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDeploymentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.
POST
request against this
resource. To view, update, or delete an existing deployment, make a GET
, PATCH
, or
DELETE
request, respectively, on a specified Deployment resource.Constructor and Description |
---|
GetDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
GetDeploymentsResult |
clone() |
boolean |
equals(Object obj) |
List<Deployment> |
getItems()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<Deployment> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDeploymentsResult |
withItems(Collection<Deployment> items)
The current page of elements from this collection.
|
GetDeploymentsResult |
withItems(Deployment... items)
The current page of elements from this collection.
|
GetDeploymentsResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetDeploymentsResult withPosition(String position)
position
- public List<Deployment> getItems()
The current page of elements from this collection.
public void setItems(Collection<Deployment> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public GetDeploymentsResult withItems(Deployment... items)
The current page of elements from this collection.
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 elements from this collection.public GetDeploymentsResult withItems(Collection<Deployment> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public String toString()
toString
in class Object
Object.toString()
public GetDeploymentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.