public class ListBuildsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
ListBuildsRequest() |
Modifier and Type | Method and Description |
---|---|
ListBuildsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
String |
getStatus()
Build state to filter results on.
|
int |
hashCode() |
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
void |
setStatus(BuildStatus status)
Build state to filter results on.
|
void |
setStatus(String status)
Build state to filter results on.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListBuildsRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
ListBuildsRequest |
withNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
ListBuildsRequest |
withStatus(BuildStatus status)
Build state to filter results on.
|
ListBuildsRequest |
withStatus(String status)
Build state to filter results on.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStatus(String status)
Build state to filter results on. Use this parameter to retrieve builds in a certain state. To retrieve all builds, leave this parameter empty. Possible build states include:
status
- Build state to filter results on. Use this parameter to retrieve
builds in a certain state. To retrieve all builds, leave this
parameter empty. Possible build states include:
BuildStatus
public String getStatus()
Build state to filter results on. Use this parameter to retrieve builds in a certain state. To retrieve all builds, leave this parameter empty. Possible build states include:
BuildStatus
public ListBuildsRequest withStatus(String status)
Build state to filter results on. Use this parameter to retrieve builds in a certain state. To retrieve all builds, leave this parameter empty. Possible build states include:
status
- Build state to filter results on. Use this parameter to retrieve
builds in a certain state. To retrieve all builds, leave this
parameter empty. Possible build states include:
BuildStatus
public void setStatus(BuildStatus status)
Build state to filter results on. Use this parameter to retrieve builds in a certain state. To retrieve all builds, leave this parameter empty. Possible build states include:
status
- Build state to filter results on. Use this parameter to retrieve
builds in a certain state. To retrieve all builds, leave this
parameter empty. Possible build states include:
BuildStatus
public ListBuildsRequest withStatus(BuildStatus status)
Build state to filter results on. Use this parameter to retrieve builds in a certain state. To retrieve all builds, leave this parameter empty. Possible build states include:
status
- Build state to filter results on. Use this parameter to retrieve
builds in a certain state. To retrieve all builds, leave this
parameter empty. Possible build states include:
BuildStatus
public void setLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit
- Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public Integer getLimit()
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
public ListBuildsRequest withLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit
- Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public void setNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken
- Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public String getNextToken()
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
public ListBuildsRequest withNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken
- Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public String toString()
toString
in class Object
Object.toString()
public ListBuildsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.