@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMonitorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListMonitorsRequest() |
Modifier and Type | Method and Description |
---|---|
ListMonitorsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
An array of filters.
|
Integer |
getMaxResults()
The maximum number of monitors to include in the response.
|
String |
getNextToken()
If the result of the previous request was truncated, the response includes a
NextToken . |
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
An array of filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of monitors to include in the response.
|
void |
setNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken . |
String |
toString()
Returns a string representation of this object.
|
ListMonitorsRequest |
withFilters(Collection<Filter> filters)
An array of filters.
|
ListMonitorsRequest |
withFilters(Filter... filters)
An array of filters.
|
ListMonitorsRequest |
withMaxResults(Integer maxResults)
The maximum number of monitors to include in the response.
|
ListMonitorsRequest |
withNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken . |
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 setNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve
the next set of results, use the token in the next request. Tokens expire after 24 hours.
nextToken
- If the result of the previous request was truncated, the response includes a NextToken
. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public String getNextToken()
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve
the next set of results, use the token in the next request. Tokens expire after 24 hours.
NextToken
. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public ListMonitorsRequest withNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve
the next set of results, use the token in the next request. Tokens expire after 24 hours.
nextToken
- If the result of the previous request was truncated, the response includes a NextToken
. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public void setMaxResults(Integer maxResults)
The maximum number of monitors to include in the response.
maxResults
- The maximum number of monitors to include in the response.public Integer getMaxResults()
The maximum number of monitors to include in the response.
public ListMonitorsRequest withMaxResults(Integer maxResults)
The maximum number of monitors to include in the response.
maxResults
- The maximum number of monitors to include in the response.public List<Filter> getFilters()
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that match
the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
IS
or IS_NOT
, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
public void setFilters(Collection<Filter> filters)
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that match
the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
filters
- An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
public ListMonitorsRequest withFilters(Filter... filters)
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that match
the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
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
- An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
public ListMonitorsRequest withFilters(Collection<Filter> filters)
An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that match
the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
filters
- An array of filters. For each filter, provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude the resources that
match the statement from the list. The match statement consists of a key and a value.
Filter properties
Condition
- The condition to apply. Valid values are IS
and IS_NOT
.
Key
- The name of the parameter to filter on. The only valid value is Status
.
Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
public String toString()
toString
in class Object
Object.toString()
public ListMonitorsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()