public class ListBuildsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
limit
Maximum number of results to return.
|
private java.lang.String |
nextToken
Token indicating the start of the next sequential page of results.
|
private java.lang.String |
status
Build state to filter results on.
|
NOOP
Constructor and Description |
---|
ListBuildsRequest() |
Modifier and Type | Method and Description |
---|---|
ListBuildsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
Maximum number of results to return.
|
java.lang.String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
java.lang.String |
getStatus()
Build state to filter results on.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
Maximum number of results to return.
|
void |
setNextToken(java.lang.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(java.lang.String status)
Build state to filter results on.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListBuildsRequest |
withLimit(java.lang.Integer limit)
Maximum number of results to return.
|
ListBuildsRequest |
withNextToken(java.lang.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(java.lang.String status)
Build state to filter results on.
|
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
private java.lang.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:
private java.lang.Integer limit
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
private java.lang.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.
public void setStatus(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListBuildsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()