public class ListEventSubscriptionsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
maxResults
You can use this parameter to indicate the maximum number of items you
want in the response.
|
private java.lang.String |
nextToken
You can use this parameter when paginating results.
|
private java.lang.String |
resourceArn
The ARN of the assessment template for which you want to list the
existing event subscriptions.
|
NOOP
Constructor and Description |
---|
ListEventSubscriptionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListEventSubscriptionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
You can use this parameter to indicate the maximum number of items you
want in the response.
|
java.lang.String |
getNextToken()
You can use this parameter when paginating results.
|
java.lang.String |
getResourceArn()
The ARN of the assessment template for which you want to list the
existing event subscriptions.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
You can use this parameter to indicate the maximum number of items you
want in the response.
|
void |
setNextToken(java.lang.String nextToken)
You can use this parameter when paginating results.
|
void |
setResourceArn(java.lang.String resourceArn)
The ARN of the assessment template for which you want to list the
existing event subscriptions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListEventSubscriptionsRequest |
withMaxResults(java.lang.Integer maxResults)
You can use this parameter to indicate the maximum number of items you
want in the response.
|
ListEventSubscriptionsRequest |
withNextToken(java.lang.String nextToken)
You can use this parameter when paginating results.
|
ListEventSubscriptionsRequest |
withResourceArn(java.lang.String resourceArn)
The ARN of the assessment template for which you want to list the
existing event subscriptions.
|
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
private java.lang.String resourceArn
The ARN of the assessment template for which you want to list the existing event subscriptions.
private java.lang.String nextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
private java.lang.Integer maxResults
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
public void setResourceArn(java.lang.String resourceArn)
The ARN of the assessment template for which you want to list the existing event subscriptions.
resourceArn
- The ARN of the assessment template for which you want to list the
existing event subscriptions.public java.lang.String getResourceArn()
The ARN of the assessment template for which you want to list the existing event subscriptions.
public ListEventSubscriptionsRequest withResourceArn(java.lang.String resourceArn)
The ARN of the assessment template for which you want to list the existing event subscriptions.
resourceArn
- The ARN of the assessment template for which you want to list the
existing event subscriptions.public void setNextToken(java.lang.String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
nextToken
- You can use this parameter when paginating results. Set the value
of this parameter to null on your first call to the
ListEventSubscriptions action. Subsequent calls to the
action fill nextToken in the request with the value of
NextToken from the previous response to continue listing
data.public java.lang.String getNextToken()
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
public ListEventSubscriptionsRequest withNextToken(java.lang.String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
nextToken
- You can use this parameter when paginating results. Set the value
of this parameter to null on your first call to the
ListEventSubscriptions action. Subsequent calls to the
action fill nextToken in the request with the value of
NextToken from the previous response to continue listing
data.public void setMaxResults(java.lang.Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
maxResults
- You can use this parameter to indicate the maximum number of items
you want in the response. The default value is 10. The maximum
value is 500.public java.lang.Integer getMaxResults()
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
public ListEventSubscriptionsRequest withMaxResults(java.lang.Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
maxResults
- You can use this parameter to indicate the maximum number of items
you want in the response. The default value is 10. The maximum
value is 500.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListEventSubscriptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()