@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeploymentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DeploymentFilter> |
getFilters()
Filters to scope the results.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
int |
hashCode() |
void |
setFilters(Collection<DeploymentFilter> filters)
Filters to scope the results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
String |
toString()
Returns a string representation of this object.
|
ListDeploymentsRequest |
withFilters(Collection<DeploymentFilter> filters)
Filters to scope the results.
|
ListDeploymentsRequest |
withFilters(DeploymentFilter... filters)
Filters to scope the results.
|
ListDeploymentsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
ListDeploymentsRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<DeploymentFilter> getFilters()
Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
WORKLOAD_NAME
DEPLOYMENT_STATUS
public void setFilters(Collection<DeploymentFilter> filters)
Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
filters
- Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
public ListDeploymentsRequest withFilters(DeploymentFilter... filters)
Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
public ListDeploymentsRequest withFilters(Collection<DeploymentFilter> filters)
Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
filters
- Filters to scope the results. The following filters are supported:
WORKLOAD_NAME
DEPLOYMENT_STATUS
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.
public ListDeploymentsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output.public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public ListDeploymentsRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()