Class ListContainerInstancesResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.ListContainerInstancesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListContainerInstancesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListContainerInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListContainerInstancesResult
clone()
boolean
equals(Object obj)
List<String>
getContainerInstanceArns()
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.String
getNextToken()
ThenextToken
value to include in a futureListContainerInstances
request.int
hashCode()
void
setContainerInstanceArns(Collection<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(String nextToken)
ThenextToken
value to include in a futureListContainerInstances
request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListContainerInstancesResult
withContainerInstanceArns(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(Collection<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(String nextToken)
ThenextToken
value to include in a futureListContainerInstances
request.
-
-
-
Method Detail
-
getContainerInstanceArns
public List<String> getContainerInstanceArns()
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
- Returns:
- The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
-
setContainerInstanceArns
public void setContainerInstanceArns(Collection<String> containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
- Parameters:
containerInstanceArns
- The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
-
withContainerInstanceArns
public ListContainerInstancesResult withContainerInstanceArns(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)
orwithContainerInstanceArns(java.util.Collection)
if you want to override the existing values.- Parameters:
containerInstanceArns
- The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withContainerInstanceArns
public ListContainerInstancesResult withContainerInstanceArns(Collection<String> containerInstanceArns)
The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
- Parameters:
containerInstanceArns
- The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
value to include in a futureListContainerInstances
request. When the results of aListContainerInstances
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListContainerInstances
request. When the results of aListContainerInstances
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextToken
value to include in a futureListContainerInstances
request. When the results of aListContainerInstances
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
nextToken
value to include in a futureListContainerInstances
request. When the results of aListContainerInstances
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
public ListContainerInstancesResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListContainerInstances
request. When the results of aListContainerInstances
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListContainerInstances
request. When the results of aListContainerInstances
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListContainerInstancesResult clone()
-
-