Class DescribeInstanceInformationRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simplesystemsmanagement.model.DescribeInstanceInformationRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeInstanceInformationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeInstanceInformationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeInstanceInformationRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<InstanceInformationFilter>
getInstanceInformationFilterList()
One or more filters.Integer
getMaxResults()
The maximum number of items to return for this call.String
getNextToken()
The token for the next set of items to return.int
hashCode()
void
setInstanceInformationFilterList(Collection<InstanceInformationFilter> instanceInformationFilterList)
One or more filters.void
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.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.DescribeInstanceInformationRequest
withInstanceInformationFilterList(InstanceInformationFilter... instanceInformationFilterList)
One or more filters.DescribeInstanceInformationRequest
withInstanceInformationFilterList(Collection<InstanceInformationFilter> instanceInformationFilterList)
One or more filters.DescribeInstanceInformationRequest
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.DescribeInstanceInformationRequest
withNextToken(String nextToken)
The token for the next set of items to return.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getInstanceInformationFilterList
public List<InstanceInformationFilter> getInstanceInformationFilterList()
One or more filters. Use a filter to return a more specific list of instances.
- Returns:
- One or more filters. Use a filter to return a more specific list of instances.
-
setInstanceInformationFilterList
public void setInstanceInformationFilterList(Collection<InstanceInformationFilter> instanceInformationFilterList)
One or more filters. Use a filter to return a more specific list of instances.
- Parameters:
instanceInformationFilterList
- One or more filters. Use a filter to return a more specific list of instances.
-
withInstanceInformationFilterList
public DescribeInstanceInformationRequest withInstanceInformationFilterList(InstanceInformationFilter... instanceInformationFilterList)
One or more filters. Use a filter to return a more specific list of instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceInformationFilterList(java.util.Collection)
orwithInstanceInformationFilterList(java.util.Collection)
if you want to override the existing values.- Parameters:
instanceInformationFilterList
- One or more filters. Use a filter to return a more specific list of instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceInformationFilterList
public DescribeInstanceInformationRequest withInstanceInformationFilterList(Collection<InstanceInformationFilter> instanceInformationFilterList)
One or more filters. Use a filter to return a more specific list of instances.
- Parameters:
instanceInformationFilterList
- One or more filters. Use a filter to return a more specific list of instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
-
getMaxResults
public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Returns:
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
-
withMaxResults
public DescribeInstanceInformationRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
public DescribeInstanceInformationRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeInstanceInformationRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-