@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNotificationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListNotificationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListNotificationsRequest |
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 results to return for this request.
|
String |
getNextToken() |
String |
getResourceArn()
The ARN for the related resource for the notification.
|
String |
getWorkloadId() |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for this request.
|
void |
setNextToken(String nextToken) |
void |
setResourceArn(String resourceArn)
The ARN for the related resource for the notification.
|
void |
setWorkloadId(String workloadId) |
String |
toString()
Returns a string representation of this object.
|
ListNotificationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for this request.
|
ListNotificationsRequest |
withNextToken(String nextToken) |
ListNotificationsRequest |
withResourceArn(String resourceArn)
The ARN for the related resource for the notification.
|
ListNotificationsRequest |
withWorkloadId(String workloadId) |
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 setWorkloadId(String workloadId)
workloadId
- public String getWorkloadId()
public ListNotificationsRequest withWorkloadId(String workloadId)
workloadId
- public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListNotificationsRequest withNextToken(String nextToken)
nextToken
- public void setMaxResults(Integer maxResults)
The maximum number of results to return for this request.
maxResults
- The maximum number of results to return for this request.public Integer getMaxResults()
The maximum number of results to return for this request.
public ListNotificationsRequest withMaxResults(Integer maxResults)
The maximum number of results to return for this request.
maxResults
- The maximum number of results to return for this request.public void setResourceArn(String resourceArn)
The ARN for the related resource for the notification.
Only one of WorkloadID
or ResourceARN
should be specified.
resourceArn
- The ARN for the related resource for the notification.
Only one of WorkloadID
or ResourceARN
should be specified.
public String getResourceArn()
The ARN for the related resource for the notification.
Only one of WorkloadID
or ResourceARN
should be specified.
Only one of WorkloadID
or ResourceARN
should be specified.
public ListNotificationsRequest withResourceArn(String resourceArn)
The ARN for the related resource for the notification.
Only one of WorkloadID
or ResourceARN
should be specified.
resourceArn
- The ARN for the related resource for the notification.
Only one of WorkloadID
or ResourceARN
should be specified.
public String toString()
toString
in class Object
Object.toString()
public ListNotificationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()