public class ListServicesResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ListServicesResult() |
Modifier and Type | Method and Description |
---|---|
ListServicesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future
ListServices 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)
The
nextToken value to include in a future
ListServices 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)
The
nextToken value to include in a future
ListServices request. |
ListServicesResult |
withServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
ListServicesResult |
withServiceArns(String... serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
public List<String> getServiceArns()
public void setServiceArns(Collection<String> serviceArns)
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.public ListServicesResult withServiceArns(String... serviceArns)
NOTE: This method appends the values to the existing list (if
any). Use setServiceArns(java.util.Collection)
or withServiceArns(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.public ListServicesResult withServiceArns(Collection<String> serviceArns)
Returns a reference to this object so that method calls can be chained together.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.public String getNextToken()
nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
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
ListServices
request. When the results of a
ListServices
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 void setNextToken(String nextToken)
nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
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
ListServices
request. When the results of a
ListServices
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 ListServicesResult withNextToken(String nextToken)
nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
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.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
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 String toString()
toString
in class Object
Object.toString()
public ListServicesResult clone()
Copyright © 2015. All rights reserved.