@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSuppressedDestinationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to obtain a list of email destinations that are on the suppression list for your account.
NOOP
Constructor and Description |
---|
ListSuppressedDestinationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListSuppressedDestinationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndDate()
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to
the list before a specific date.
|
String |
getNextToken()
A token returned from a previous call to
ListSuppressedDestinations to indicate the position in the
list of suppressed email addresses. |
Integer |
getPageSize()
The number of results to show in a single call to
ListSuppressedDestinations . |
List<String> |
getReasons()
The factors that caused the email address to be added to .
|
Date |
getStartDate()
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to
the list after a specific date.
|
int |
hashCode() |
void |
setEndDate(Date endDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to
the list before a specific date.
|
void |
setNextToken(String nextToken)
A token returned from a previous call to
ListSuppressedDestinations to indicate the position in the
list of suppressed email addresses. |
void |
setPageSize(Integer pageSize)
The number of results to show in a single call to
ListSuppressedDestinations . |
void |
setReasons(Collection<String> reasons)
The factors that caused the email address to be added to .
|
void |
setStartDate(Date startDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to
the list after a specific date.
|
String |
toString()
Returns a string representation of this object.
|
ListSuppressedDestinationsRequest |
withEndDate(Date endDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to
the list before a specific date.
|
ListSuppressedDestinationsRequest |
withNextToken(String nextToken)
A token returned from a previous call to
ListSuppressedDestinations to indicate the position in the
list of suppressed email addresses. |
ListSuppressedDestinationsRequest |
withPageSize(Integer pageSize)
The number of results to show in a single call to
ListSuppressedDestinations . |
ListSuppressedDestinationsRequest |
withReasons(Collection<String> reasons)
The factors that caused the email address to be added to .
|
ListSuppressedDestinationsRequest |
withReasons(String... reasons)
The factors that caused the email address to be added to .
|
ListSuppressedDestinationsRequest |
withReasons(SuppressionListReason... reasons)
The factors that caused the email address to be added to .
|
ListSuppressedDestinationsRequest |
withStartDate(Date startDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to
the list after a specific date.
|
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 List<String> getReasons()
The factors that caused the email address to be added to .
SuppressionListReason
public void setReasons(Collection<String> reasons)
The factors that caused the email address to be added to .
reasons
- The factors that caused the email address to be added to .SuppressionListReason
public ListSuppressedDestinationsRequest withReasons(String... reasons)
The factors that caused the email address to be added to .
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
- The factors that caused the email address to be added to .SuppressionListReason
public ListSuppressedDestinationsRequest withReasons(Collection<String> reasons)
The factors that caused the email address to be added to .
reasons
- The factors that caused the email address to be added to .SuppressionListReason
public ListSuppressedDestinationsRequest withReasons(SuppressionListReason... reasons)
The factors that caused the email address to be added to .
reasons
- The factors that caused the email address to be added to .SuppressionListReason
public void setStartDate(Date startDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date. The date that you specify should be in Unix time format.
startDate
- Used to filter the list of suppressed email destinations so that it only includes addresses that were
added to the list after a specific date. The date that you specify should be in Unix time format.public Date getStartDate()
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date. The date that you specify should be in Unix time format.
public ListSuppressedDestinationsRequest withStartDate(Date startDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date. The date that you specify should be in Unix time format.
startDate
- Used to filter the list of suppressed email destinations so that it only includes addresses that were
added to the list after a specific date. The date that you specify should be in Unix time format.public void setEndDate(Date endDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date. The date that you specify should be in Unix time format.
endDate
- Used to filter the list of suppressed email destinations so that it only includes addresses that were
added to the list before a specific date. The date that you specify should be in Unix time format.public Date getEndDate()
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date. The date that you specify should be in Unix time format.
public ListSuppressedDestinationsRequest withEndDate(Date endDate)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date. The date that you specify should be in Unix time format.
endDate
- Used to filter the list of suppressed email destinations so that it only includes addresses that were
added to the list before a specific date. The date that you specify should be in Unix time format.public void setNextToken(String nextToken)
A token returned from a previous call to ListSuppressedDestinations
to indicate the position in the
list of suppressed email addresses.
nextToken
- A token returned from a previous call to ListSuppressedDestinations
to indicate the position
in the list of suppressed email addresses.public String getNextToken()
A token returned from a previous call to ListSuppressedDestinations
to indicate the position in the
list of suppressed email addresses.
ListSuppressedDestinations
to indicate the position
in the list of suppressed email addresses.public ListSuppressedDestinationsRequest withNextToken(String nextToken)
A token returned from a previous call to ListSuppressedDestinations
to indicate the position in the
list of suppressed email addresses.
nextToken
- A token returned from a previous call to ListSuppressedDestinations
to indicate the position
in the list of suppressed email addresses.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 Object
Object.toString()
public ListSuppressedDestinationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.