@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListTargetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ListTargetsFilter> |
getFilters()
The filters to use to return information by service or resource type.
|
Integer |
getMaxResults()
A non-negative integer used to limit the number of returned results.
|
String |
getNextToken()
An enumeration token that, when provided in a request, returns the next batch of the results.
|
int |
hashCode() |
void |
setFilters(Collection<ListTargetsFilter> filters)
The filters to use to return information by service or resource type.
|
void |
setMaxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results.
|
void |
setNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetsRequest |
withFilters(Collection<ListTargetsFilter> filters)
The filters to use to return information by service or resource type.
|
ListTargetsRequest |
withFilters(ListTargetsFilter... filters)
The filters to use to return information by service or resource type.
|
ListTargetsRequest |
withMaxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results.
|
ListTargetsRequest |
withNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
|
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<ListTargetsFilter> getFilters()
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
public void setFilters(Collection<ListTargetsFilter> filters)
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
filters
- The filters to use to return information by service or resource type. Valid filters include target type,
target address, and target status. A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
public ListTargetsRequest withFilters(ListTargetsFilter... filters)
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
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
- The filters to use to return information by service or resource type. Valid filters include target type,
target address, and target status. A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
public ListTargetsRequest withFilters(Collection<ListTargetsFilter> filters)
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
filters
- The filters to use to return information by service or resource type. Valid filters include target type,
target address, and target status. A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
public void setNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
nextToken
- An enumeration token that, when provided in a request, returns the next batch of the results.public String getNextToken()
An enumeration token that, when provided in a request, returns the next batch of the results.
public ListTargetsRequest withNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
nextToken
- An enumeration token that, when provided in a request, returns the next batch of the results.public void setMaxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
maxResults
- A non-negative integer used to limit the number of returned results. The maximum number of results that
can be returned is 100.public Integer getMaxResults()
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
public ListTargetsRequest withMaxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
maxResults
- A non-negative integer used to limit the number of returned results. The maximum number of results that
can be returned is 100.public String toString()
toString
in class Object
Object.toString()
public ListTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()