@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSuppressedDestinationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to obtain a list of suppressed email destinations.
NOOP| Constructor and Description |
|---|
ListSuppressedDestinationsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListSuppressedDestinationsRequest |
clone() |
boolean |
equals(Object obj) |
Date |
getEndDate()
Filters email destinations suppressed after the given time.
|
String |
getNextToken()
A token returned from a previous call to
ListSuppressedDestinations to indicate the position in the
list of suppressed email destinations. |
Integer |
getPageSize()
The number of results to show in a single call to
ListSuppressedDestinations. |
List<String> |
getReasons()
Filters email destinations suppressed by the given reasons.
|
Date |
getStartDate()
Filters email destinations suppressed before the given time.
|
int |
hashCode() |
void |
setEndDate(Date endDate)
Filters email destinations suppressed after the given time.
|
void |
setNextToken(String nextToken)
A token returned from a previous call to
ListSuppressedDestinations to indicate the position in the
list of suppressed email destinations. |
void |
setPageSize(Integer pageSize)
The number of results to show in a single call to
ListSuppressedDestinations. |
void |
setReasons(Collection<String> reasons)
Filters email destinations suppressed by the given reasons.
|
void |
setStartDate(Date startDate)
Filters email destinations suppressed before the given time.
|
String |
toString()
Returns a string representation of this object.
|
ListSuppressedDestinationsRequest |
withEndDate(Date endDate)
Filters email destinations suppressed after the given time.
|
ListSuppressedDestinationsRequest |
withNextToken(String nextToken)
A token returned from a previous call to
ListSuppressedDestinations to indicate the position in the
list of suppressed email destinations. |
ListSuppressedDestinationsRequest |
withPageSize(Integer pageSize)
The number of results to show in a single call to
ListSuppressedDestinations. |
ListSuppressedDestinationsRequest |
withReasons(Collection<String> reasons)
Filters email destinations suppressed by the given reasons.
|
ListSuppressedDestinationsRequest |
withReasons(String... reasons)
Filters email destinations suppressed by the given reasons.
|
ListSuppressedDestinationsRequest |
withReasons(SuppressionListReason... reasons)
Filters email destinations suppressed by the given reasons.
|
ListSuppressedDestinationsRequest |
withStartDate(Date startDate)
Filters email destinations suppressed before the given time.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic List<String> getReasons()
Filters email destinations suppressed by the given reasons.
SuppressionListReasonpublic void setReasons(Collection<String> reasons)
Filters email destinations suppressed by the given reasons.
reasons - Filters email destinations suppressed by the given reasons.SuppressionListReasonpublic ListSuppressedDestinationsRequest withReasons(String... reasons)
Filters email destinations suppressed by the given reasons.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection) or withReasons(java.util.Collection) if you want to override
the existing values.
reasons - Filters email destinations suppressed by the given reasons.SuppressionListReasonpublic ListSuppressedDestinationsRequest withReasons(Collection<String> reasons)
Filters email destinations suppressed by the given reasons.
reasons - Filters email destinations suppressed by the given reasons.SuppressionListReasonpublic ListSuppressedDestinationsRequest withReasons(SuppressionListReason... reasons)
Filters email destinations suppressed by the given reasons.
reasons - Filters email destinations suppressed by the given reasons.SuppressionListReasonpublic void setStartDate(Date startDate)
Filters email destinations suppressed before the given time.
startDate - Filters email destinations suppressed before the given time.public Date getStartDate()
Filters email destinations suppressed before the given time.
public ListSuppressedDestinationsRequest withStartDate(Date startDate)
Filters email destinations suppressed before the given time.
startDate - Filters email destinations suppressed before the given time.public void setEndDate(Date endDate)
Filters email destinations suppressed after the given time.
endDate - Filters email destinations suppressed after the given time.public Date getEndDate()
Filters email destinations suppressed after the given time.
public ListSuppressedDestinationsRequest withEndDate(Date endDate)
Filters email destinations suppressed after the given time.
endDate - Filters email destinations suppressed after the given time.public void setNextToken(String nextToken)
A token returned from a previous call to ListSuppressedDestinations to indicate the position in the
list of suppressed email destinations.
nextToken - A token returned from a previous call to ListSuppressedDestinations to indicate the position
in the list of suppressed email destinations.public String getNextToken()
A token returned from a previous call to ListSuppressedDestinations to indicate the position in the
list of suppressed email destinations.
ListSuppressedDestinations to indicate the position
in the list of suppressed email destinations.public ListSuppressedDestinationsRequest withNextToken(String nextToken)
A token returned from a previous call to ListSuppressedDestinations to indicate the position in the
list of suppressed email destinations.
nextToken - A token returned from a previous call to ListSuppressedDestinations to indicate the position
in the list of suppressed email destinations.public void setPageSize(Integer pageSize)
The number of results to show in a single call to ListSuppressedDestinations. If the number of
results is larger than the number you specified in this parameter, then the response includes a
NextToken element, which you can use to obtain additional results.
pageSize - The number of results to show in a single call to ListSuppressedDestinations. If the number
of results is larger than the number you specified in this parameter, then the response includes a
NextToken element, which you can use to obtain additional results.public Integer getPageSize()
The number of results to show in a single call to ListSuppressedDestinations. If the number of
results is larger than the number you specified in this parameter, then the response includes a
NextToken element, which you can use to obtain additional results.
ListSuppressedDestinations. If the number
of results is larger than the number you specified in this parameter, then the response includes a
NextToken element, which you can use to obtain additional results.public ListSuppressedDestinationsRequest withPageSize(Integer pageSize)
The number of results to show in a single call to ListSuppressedDestinations. If the number of
results is larger than the number you specified in this parameter, then the response includes a
NextToken element, which you can use to obtain additional results.
pageSize - The number of results to show in a single call to ListSuppressedDestinations. If the number
of results is larger than the number you specified in this parameter, then the response includes a
NextToken element, which you can use to obtain additional results.public String toString()
toString in class ObjectObject.toString()public ListSuppressedDestinationsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.