@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContainerGroupDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListContainerGroupDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListContainerGroupDefinitionsResult |
clone() |
boolean |
equals(Object obj) |
List<ContainerGroupDefinition> |
getContainerGroupDefinitions()
A result set of container group definitions that match the request.
|
String |
getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation.
|
int |
hashCode() |
void |
setContainerGroupDefinitions(Collection<ContainerGroupDefinition> containerGroupDefinitions)
A result set of container group definitions that match the request.
|
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListContainerGroupDefinitionsResult |
withContainerGroupDefinitions(Collection<ContainerGroupDefinition> containerGroupDefinitions)
A result set of container group definitions that match the request.
|
ListContainerGroupDefinitionsResult |
withContainerGroupDefinitions(ContainerGroupDefinition... containerGroupDefinitions)
A result set of container group definitions that match the request.
|
ListContainerGroupDefinitionsResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ContainerGroupDefinition> getContainerGroupDefinitions()
A result set of container group definitions that match the request.
public void setContainerGroupDefinitions(Collection<ContainerGroupDefinition> containerGroupDefinitions)
A result set of container group definitions that match the request.
containerGroupDefinitions
- A result set of container group definitions that match the request.public ListContainerGroupDefinitionsResult withContainerGroupDefinitions(ContainerGroupDefinition... containerGroupDefinitions)
A result set of container group definitions that match the request.
NOTE: This method appends the values to the existing list (if any). Use
setContainerGroupDefinitions(java.util.Collection)
or
withContainerGroupDefinitions(java.util.Collection)
if you want to override the existing values.
containerGroupDefinitions
- A result set of container group definitions that match the request.public ListContainerGroupDefinitionsResult withContainerGroupDefinitions(Collection<ContainerGroupDefinition> containerGroupDefinitions)
A result set of container group definitions that match the request.
containerGroupDefinitions
- A result set of container group definitions that match the request.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public ListContainerGroupDefinitionsResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public ListContainerGroupDefinitionsResult clone()