public class ListContainerInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
containerInstanceArns
The list of container instances with full Amazon Resource Name (ARN)
entries for each container instance associated with the specified
cluster.
|
private java.lang.String |
nextToken
The
nextToken value to include in a future
ListContainerInstances request. |
Constructor and Description |
---|
ListContainerInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListContainerInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getContainerInstanceArns()
The list of container instances with full Amazon Resource Name (ARN)
entries for each container instance associated with the specified
cluster.
|
java.lang.String |
getNextToken()
The
nextToken value to include in a future
ListContainerInstances request. |
int |
hashCode() |
void |
setContainerInstanceArns(java.util.Collection<java.lang.String> containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN)
entries for each container instance associated with the specified
cluster.
|
void |
setNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListContainerInstances request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListContainerInstancesResult |
withContainerInstanceArns(java.util.Collection<java.lang.String> containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN)
entries for each container instance associated with the specified
cluster.
|
ListContainerInstancesResult |
withContainerInstanceArns(java.lang.String... containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN)
entries for each container instance associated with the specified
cluster.
|
ListContainerInstancesResult |
withNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListContainerInstances request. |
private SdkInternalList<java.lang.String> containerInstanceArns
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
private java.lang.String nextToken
The nextToken
value to include in a future
ListContainerInstances
request. When the results of a
ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more
results to return.
public java.util.List<java.lang.String> getContainerInstanceArns()
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
public void setContainerInstanceArns(java.util.Collection<java.lang.String> containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
containerInstanceArns
- The list of container instances with full Amazon Resource Name
(ARN) entries for each container instance associated with the
specified cluster.public ListContainerInstancesResult withContainerInstanceArns(java.lang.String... containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
NOTE: This method appends the values to the existing list (if
any). Use setContainerInstanceArns(java.util.Collection)
or
withContainerInstanceArns(java.util.Collection)
if you want to
override the existing values.
containerInstanceArns
- The list of container instances with full Amazon Resource Name
(ARN) entries for each container instance associated with the
specified cluster.public ListContainerInstancesResult withContainerInstanceArns(java.util.Collection<java.lang.String> containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
containerInstanceArns
- The list of container instances with full Amazon Resource Name
(ARN) entries for each container instance associated with the
specified cluster.public void setNextToken(java.lang.String nextToken)
The nextToken
value to include in a future
ListContainerInstances
request. When the results of a
ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more
results to return.
nextToken
- The nextToken
value to include in a future
ListContainerInstances
request. When the results of a
ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there
are no more results to return.public java.lang.String getNextToken()
The nextToken
value to include in a future
ListContainerInstances
request. When the results of a
ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more
results to return.
nextToken
value to include in a future
ListContainerInstances
request. When the results of
a ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there
are no more results to return.public ListContainerInstancesResult withNextToken(java.lang.String nextToken)
The nextToken
value to include in a future
ListContainerInstances
request. When the results of a
ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more
results to return.
nextToken
- The nextToken
value to include in a future
ListContainerInstances
request. When the results of a
ListContainerInstances
request exceed
maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there
are no more results to return.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 ListContainerInstancesResult clone()
clone
in class java.lang.Object