@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServicesResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getServiceArns()
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
public void setServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service associated with the specified
cluster.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)
or withServiceArns(java.util.Collection)
if you want to
override the existing values.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service associated with the specified
cluster.public ListServicesResult withServiceArns(Collection<String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each service associated with the specified
cluster.public void setNextToken(String 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.
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 getNextToken()
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.
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)
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.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.