@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancePatchStatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeInstancePatchStatesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInstancePatchStatesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getInstanceIds()
The ID of the instance whose patch state information should be retrieved.
|
Integer |
getMaxResults()
The maximum number of instances to return (per page).
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setInstanceIds(Collection<String> instanceIds)
The ID of the instance whose patch state information should be retrieved.
|
void |
setMaxResults(Integer maxResults)
The maximum number of instances to return (per page).
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInstancePatchStatesRequest |
withInstanceIds(Collection<String> instanceIds)
The ID of the instance whose patch state information should be retrieved.
|
DescribeInstancePatchStatesRequest |
withInstanceIds(String... instanceIds)
The ID of the instance whose patch state information should be retrieved.
|
DescribeInstancePatchStatesRequest |
withMaxResults(Integer maxResults)
The maximum number of instances to return (per page).
|
DescribeInstancePatchStatesRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
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<String> getInstanceIds()
The ID of the instance whose patch state information should be retrieved.
public void setInstanceIds(Collection<String> instanceIds)
The ID of the instance whose patch state information should be retrieved.
instanceIds
- The ID of the instance whose patch state information should be retrieved.public DescribeInstancePatchStatesRequest withInstanceIds(String... instanceIds)
The ID of the instance whose patch state information should be retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The ID of the instance whose patch state information should be retrieved.public DescribeInstancePatchStatesRequest withInstanceIds(Collection<String> instanceIds)
The ID of the instance whose patch state information should be retrieved.
instanceIds
- The ID of the instance whose patch state information should be retrieved.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeInstancePatchStatesRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public void setMaxResults(Integer maxResults)
The maximum number of instances to return (per page).
maxResults
- The maximum number of instances to return (per page).public Integer getMaxResults()
The maximum number of instances to return (per page).
public DescribeInstancePatchStatesRequest withMaxResults(Integer maxResults)
The maximum number of instances to return (per page).
maxResults
- The maximum number of instances to return (per page).public String toString()
toString
in class Object
Object.toString()
public DescribeInstancePatchStatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.