Class ListServicesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ecs.model.ListServicesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListServicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListServicesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListServicesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list.Integer
getMaxResults()
The maximum number of container instance results returned byListServices
in paginated output.String
getNextToken()
ThenextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter.int
hashCode()
void
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list.void
setMaxResults(Integer maxResults)
The maximum number of container instance results returned byListServices
in paginated output.void
setNextToken(String nextToken)
ThenextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListServicesRequest
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list.ListServicesRequest
withMaxResults(Integer maxResults)
The maximum number of container instance results returned byListServices
in paginated output.ListServicesRequest
withNextToken(String nextToken)
ThenextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setCluster
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed..
- Parameters:
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed..
-
getCluster
public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed..
- Returns:
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed..
-
withCluster
public ListServicesRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed..
- Parameters:
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
-
getNextToken
public String getNextToken()
The
nextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- The
nextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
-
withNextToken
public ListServicesRequest withNextToken(String nextToken)
The
nextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedListServices
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of container instance results returned by
ListServices
in paginated output. When this parameter is used,ListServices
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListServices
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenListServices
returns up to 10 results and anextToken
value if applicable.- Parameters:
maxResults
- The maximum number of container instance results returned byListServices
in paginated output. When this parameter is used,ListServices
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListServices
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenListServices
returns up to 10 results and anextToken
value if applicable.
-
getMaxResults
public Integer getMaxResults()
The maximum number of container instance results returned by
ListServices
in paginated output. When this parameter is used,ListServices
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListServices
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenListServices
returns up to 10 results and anextToken
value if applicable.- Returns:
- The maximum number of container instance results returned by
ListServices
in paginated output. When this parameter is used,ListServices
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListServices
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenListServices
returns up to 10 results and anextToken
value if applicable.
-
withMaxResults
public ListServicesRequest withMaxResults(Integer maxResults)
The maximum number of container instance results returned by
ListServices
in paginated output. When this parameter is used,ListServices
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListServices
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenListServices
returns up to 10 results and anextToken
value if applicable.- Parameters:
maxResults
- The maximum number of container instance results returned byListServices
in paginated output. When this parameter is used,ListServices
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListServices
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenListServices
returns up to 10 results and anextToken
value if applicable.- 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 ListServicesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-