@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) |
Date |
getAfterTimestamp()
The time after which you want to list notifications.
|
Date |
getBeforeTimestamp()
The time before which you want to list notifications.
|
String |
getDomainIdentifier()
The identifier of the Amazon DataZone domain.
|
Integer |
getMaxResults()
The maximum number of notifications to return in a single call to
ListNotifications . |
String |
getNextToken()
When the number of notifications is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of notifications, the
response includes a pagination token named NextToken . |
List<String> |
getSubjects()
The subjects of notifications.
|
String |
getTaskStatus()
The task status of notifications.
|
String |
getType()
The type of notifications.
|
int |
hashCode() |
void |
setAfterTimestamp(Date afterTimestamp)
The time after which you want to list notifications.
|
void |
setBeforeTimestamp(Date beforeTimestamp)
The time before which you want to list notifications.
|
void |
setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
|
void |
setMaxResults(Integer maxResults)
The maximum number of notifications to return in a single call to
ListNotifications . |
void |
setNextToken(String nextToken)
When the number of notifications is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of notifications, the
response includes a pagination token named NextToken . |
void |
setSubjects(Collection<String> subjects)
The subjects of notifications.
|
void |
setTaskStatus(String taskStatus)
The task status of notifications.
|
void |
setType(String type)
The type of notifications.
|
String |
toString()
Returns a string representation of this object.
|
ListNotificationsRequest |
withAfterTimestamp(Date afterTimestamp)
The time after which you want to list notifications.
|
ListNotificationsRequest |
withBeforeTimestamp(Date beforeTimestamp)
The time before which you want to list notifications.
|
ListNotificationsRequest |
withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
|
ListNotificationsRequest |
withMaxResults(Integer maxResults)
The maximum number of notifications to return in a single call to
ListNotifications . |
ListNotificationsRequest |
withNextToken(String nextToken)
When the number of notifications is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of notifications, the
response includes a pagination token named NextToken . |
ListNotificationsRequest |
withSubjects(Collection<String> subjects)
The subjects of notifications.
|
ListNotificationsRequest |
withSubjects(String... subjects)
The subjects of notifications.
|
ListNotificationsRequest |
withTaskStatus(String taskStatus)
The task status of notifications.
|
ListNotificationsRequest |
withTaskStatus(TaskStatus taskStatus)
The task status of notifications.
|
ListNotificationsRequest |
withType(NotificationType type)
The type of notifications.
|
ListNotificationsRequest |
withType(String type)
The type of notifications.
|
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 setAfterTimestamp(Date afterTimestamp)
The time after which you want to list notifications.
afterTimestamp
- The time after which you want to list notifications.public Date getAfterTimestamp()
The time after which you want to list notifications.
public ListNotificationsRequest withAfterTimestamp(Date afterTimestamp)
The time after which you want to list notifications.
afterTimestamp
- The time after which you want to list notifications.public void setBeforeTimestamp(Date beforeTimestamp)
The time before which you want to list notifications.
beforeTimestamp
- The time before which you want to list notifications.public Date getBeforeTimestamp()
The time before which you want to list notifications.
public ListNotificationsRequest withBeforeTimestamp(Date beforeTimestamp)
The time before which you want to list notifications.
beforeTimestamp
- The time before which you want to list notifications.public void setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
domainIdentifier
- The identifier of the Amazon DataZone domain.public String getDomainIdentifier()
The identifier of the Amazon DataZone domain.
public ListNotificationsRequest withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
domainIdentifier
- The identifier of the Amazon DataZone domain.public void setMaxResults(Integer maxResults)
The maximum number of notifications to return in a single call to ListNotifications
. When the number
of notifications to be listed is greater than the value of MaxResults
, the response contains a
NextToken
value that you can use in a subsequent call to ListNotifications
to list the
next set of notifications.
maxResults
- The maximum number of notifications to return in a single call to ListNotifications
. When the
number of notifications to be listed is greater than the value of MaxResults
, the response
contains a NextToken
value that you can use in a subsequent call to
ListNotifications
to list the next set of notifications.public Integer getMaxResults()
The maximum number of notifications to return in a single call to ListNotifications
. When the number
of notifications to be listed is greater than the value of MaxResults
, the response contains a
NextToken
value that you can use in a subsequent call to ListNotifications
to list the
next set of notifications.
ListNotifications
. When
the number of notifications to be listed is greater than the value of MaxResults
, the
response contains a NextToken
value that you can use in a subsequent call to
ListNotifications
to list the next set of notifications.public ListNotificationsRequest withMaxResults(Integer maxResults)
The maximum number of notifications to return in a single call to ListNotifications
. When the number
of notifications to be listed is greater than the value of MaxResults
, the response contains a
NextToken
value that you can use in a subsequent call to ListNotifications
to list the
next set of notifications.
maxResults
- The maximum number of notifications to return in a single call to ListNotifications
. When the
number of notifications to be listed is greater than the value of MaxResults
, the response
contains a NextToken
value that you can use in a subsequent call to
ListNotifications
to list the next set of notifications.public void setNextToken(String nextToken)
When the number of notifications is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of notifications, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
nextToken
- When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of notifications, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListNotifications
to list the next
set of notifications.public String getNextToken()
When the number of notifications is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of notifications, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of notifications, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListNotifications
to list the next
set of notifications.public ListNotificationsRequest withNextToken(String nextToken)
When the number of notifications is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of notifications, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
nextToken
- When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of notifications, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListNotifications
to list the next
set of notifications.public List<String> getSubjects()
The subjects of notifications.
public void setSubjects(Collection<String> subjects)
The subjects of notifications.
subjects
- The subjects of notifications.public ListNotificationsRequest withSubjects(String... subjects)
The subjects of notifications.
NOTE: This method appends the values to the existing list (if any). Use
setSubjects(java.util.Collection)
or withSubjects(java.util.Collection)
if you want to override
the existing values.
subjects
- The subjects of notifications.public ListNotificationsRequest withSubjects(Collection<String> subjects)
The subjects of notifications.
subjects
- The subjects of notifications.public void setTaskStatus(String taskStatus)
The task status of notifications.
taskStatus
- The task status of notifications.TaskStatus
public String getTaskStatus()
The task status of notifications.
TaskStatus
public ListNotificationsRequest withTaskStatus(String taskStatus)
The task status of notifications.
taskStatus
- The task status of notifications.TaskStatus
public ListNotificationsRequest withTaskStatus(TaskStatus taskStatus)
The task status of notifications.
taskStatus
- The task status of notifications.TaskStatus
public void setType(String type)
The type of notifications.
type
- The type of notifications.NotificationType
public String getType()
The type of notifications.
NotificationType
public ListNotificationsRequest withType(String type)
The type of notifications.
type
- The type of notifications.NotificationType
public ListNotificationsRequest withType(NotificationType type)
The type of notifications.
type
- The type of notifications.NotificationType
public String toString()
toString
in class Object
Object.toString()
public ListNotificationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()