Class ListServicesResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.ListServicesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListServicesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListServicesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListServicesResult
clone()
boolean
equals(Object obj)
String
getNextToken()
ThenextToken
value to include in a futureListServices
request.List<String>
getServiceArns()
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.int
hashCode()
void
setNextToken(String nextToken)
ThenextToken
value to include in a futureListServices
request.void
setServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListServicesResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureListServices
request.ListServicesResult
withServiceArns(String... serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.ListServicesResult
withServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
-
-
-
Method Detail
-
getServiceArns
public List<String> getServiceArns()
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
- Returns:
- The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
-
setServiceArns
public void setServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
- Parameters:
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
-
withServiceArns
public ListServicesResult withServiceArns(String... serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
NOTE: This method appends the values to the existing list (if any). Use
setServiceArns(java.util.Collection)
orwithServiceArns(java.util.Collection)
if you want to override the existing values.- Parameters:
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withServiceArns
public ListServicesResult withServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
- Parameters:
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service 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 futureListServices
request. When the results of aListServices
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 futureListServices
request. When the results of aListServices
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 futureListServices
request. When the results of aListServices
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 futureListServices
request. When the results of aListServices
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 ListServicesResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListServices
request. When the results of aListServices
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 futureListServices
request. When the results of aListServices
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 ListServicesResult clone()
-
-