public class ListDeploymentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a list deployments operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
deployments
A list of deployment IDs.
|
private java.lang.String |
nextToken
If a large amount of information is returned, an identifier is also
returned.
|
Constructor and Description |
---|
ListDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getDeployments()
A list of deployment IDs.
|
java.lang.String |
getNextToken()
If a large amount of information is returned, an identifier is also
returned.
|
int |
hashCode() |
void |
setDeployments(java.util.Collection<java.lang.String> deployments)
A list of deployment IDs.
|
void |
setNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentsResult |
withDeployments(java.util.Collection<java.lang.String> deployments)
A list of deployment IDs.
|
ListDeploymentsResult |
withDeployments(java.lang.String... deployments)
A list of deployment IDs.
|
ListDeploymentsResult |
withNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
private SdkInternalList<java.lang.String> deployments
A list of deployment IDs.
private java.lang.String nextToken
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
public java.util.List<java.lang.String> getDeployments()
A list of deployment IDs.
public void setDeployments(java.util.Collection<java.lang.String> deployments)
A list of deployment IDs.
deployments
- A list of deployment IDs.public ListDeploymentsResult withDeployments(java.lang.String... deployments)
A list of deployment IDs.
NOTE: This method appends the values to the existing list (if
any). Use setDeployments(java.util.Collection)
or
withDeployments(java.util.Collection)
if you want to override
the existing values.
deployments
- A list of deployment IDs.public ListDeploymentsResult withDeployments(java.util.Collection<java.lang.String> deployments)
A list of deployment IDs.
deployments
- A list of deployment IDs.public void setNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
nextToken
- If a large amount of information is returned, an identifier is
also returned. It can be used in a subsequent list deployments
call to return the next set of deployments in the list.public java.lang.String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
public ListDeploymentsResult withNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
nextToken
- If a large amount of information is returned, an identifier is
also returned. It can be used in a subsequent list deployments
call to return the next set of deployments in the list.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 ListDeploymentsResult clone()
clone
in class java.lang.Object