@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAutoshiftsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAutoshiftsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAutoshiftsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The number of objects that you want to return with this call.
|
String |
getNextToken()
Specifies that you want to receive the next page of results.
|
String |
getStatus()
The status of the autoshift.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The number of objects that you want to return with this call.
|
void |
setNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
void |
setStatus(String status)
The status of the autoshift.
|
String |
toString()
Returns a string representation of this object.
|
ListAutoshiftsRequest |
withMaxResults(Integer maxResults)
The number of objects that you want to return with this call.
|
ListAutoshiftsRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
ListAutoshiftsRequest |
withStatus(AutoshiftExecutionStatus status)
The status of the autoshift.
|
ListAutoshiftsRequest |
withStatus(String status)
The status of the autoshift.
|
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 void setMaxResults(Integer maxResults)
The number of objects that you want to return with this call.
maxResults
- The number of objects that you want to return with this call.public Integer getMaxResults()
The number of objects that you want to return with this call.
public ListAutoshiftsRequest withMaxResults(Integer maxResults)
The number of objects that you want to return with this call.
maxResults
- The number of objects that you want to return with this call.public void setNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public String getNextToken()
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.public ListAutoshiftsRequest withNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public void setStatus(String status)
The status of the autoshift.
status
- The status of the autoshift.AutoshiftExecutionStatus
public String getStatus()
The status of the autoshift.
AutoshiftExecutionStatus
public ListAutoshiftsRequest withStatus(String status)
The status of the autoshift.
status
- The status of the autoshift.AutoshiftExecutionStatus
public ListAutoshiftsRequest withStatus(AutoshiftExecutionStatus status)
The status of the autoshift.
status
- The status of the autoshift.AutoshiftExecutionStatus
public String toString()
toString
in class Object
Object.toString()
public ListAutoshiftsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()