@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceInformationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeInstanceInformationRequest() |
addHandlerContext, copyBaseTo, 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<InstanceInformationFilter> getInstanceInformationFilterList()
This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to return
instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using this
method and the InstanceInformationFilter
action causes an exception error.
InstanceInformationFilter
action enables you to
return instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using
this method and the InstanceInformationFilter
action causes an exception error.
public void setInstanceInformationFilterList(Collection<InstanceInformationFilter> instanceInformationFilterList)
This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to return
instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using this
method and the InstanceInformationFilter
action causes an exception error.
instanceInformationFilterList
- This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to
return instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using
this method and the InstanceInformationFilter
action causes an exception error.
public DescribeInstanceInformationRequest withInstanceInformationFilterList(InstanceInformationFilter... instanceInformationFilterList)
This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to return
instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using this
method and the InstanceInformationFilter
action causes an exception error.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceInformationFilterList(java.util.Collection)
or
withInstanceInformationFilterList(java.util.Collection)
if you want to override the existing values.
instanceInformationFilterList
- This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to
return instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using
this method and the InstanceInformationFilter
action causes an exception error.
public DescribeInstanceInformationRequest withInstanceInformationFilterList(Collection<InstanceInformationFilter> instanceInformationFilterList)
This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to return
instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using this
method and the InstanceInformationFilter
action causes an exception error.
instanceInformationFilterList
- This is a legacy method. We recommend that you don't use this method. Instead, use the
InstanceInformationFilter action. The InstanceInformationFilter
action enables you to
return instance information by using tags that are specified as a key-value mapping.
If you do use this method, then you can't use the InstanceInformationFilter
action. Using
this method and the InstanceInformationFilter
action causes an exception error.
public List<InstanceInformationStringFilter> getFilters()
One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon EC2 tag. Specify tags by using a key-value mapping.
public void setFilters(Collection<InstanceInformationStringFilter> filters)
One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon EC2 tag. Specify tags by using a key-value mapping.
filters
- One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon
EC2 tag. Specify tags by using a key-value mapping.public DescribeInstanceInformationRequest withFilters(InstanceInformationStringFilter... filters)
One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon EC2 tag. Specify tags by using a key-value mapping.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon
EC2 tag. Specify tags by using a key-value mapping.public DescribeInstanceInformationRequest withFilters(Collection<InstanceInformationStringFilter> filters)
One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon EC2 tag. Specify tags by using a key-value mapping.
filters
- One or more filters. Use a filter to return a more specific list of instances. You can filter on Amazon
EC2 tag. Specify tags by using a key-value mapping.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.
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.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.
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.
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.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 DescribeInstanceInformationRequest 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 String toString()
toString
in class Object
Object.toString()
public DescribeInstanceInformationRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.