@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAlertsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAlertsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAlertsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of alerts that you want MediaTailor to return in response to the current request.
|
String |
getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of alerts that you want MediaTailor to return in response to the current request.
|
void |
setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListAlertsRequest |
withMaxResults(Integer maxResults)
The maximum number of alerts that you want MediaTailor to return in response to the current request.
|
ListAlertsRequest |
withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
ListAlertsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
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 setMaxResults(Integer maxResults)
The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are
more than MaxResults
alerts, use the value of NextToken
in the response to get the next
page of results.
maxResults
- The maximum number of alerts that you want MediaTailor to return in response to the current request. If
there are more than MaxResults
alerts, use the value of NextToken
in the
response to get the next page of results.public Integer getMaxResults()
The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are
more than MaxResults
alerts, use the value of NextToken
in the response to get the next
page of results.
MaxResults
alerts, use the value of NextToken
in the
response to get the next page of results.public ListAlertsRequest withMaxResults(Integer maxResults)
The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are
more than MaxResults
alerts, use the value of NextToken
in the response to get the next
page of results.
maxResults
- The maximum number of alerts that you want MediaTailor to return in response to the current request. If
there are more than MaxResults
alerts, use the value of NextToken
in the
response to get the next page of results.public void setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
public ListAlertsRequest withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public ListAlertsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String toString()
toString
in class Object
Object.toString()
public ListAlertsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()