Class ListSuppressionsRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.email.requests.ListSuppressionsRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class ListSuppressionsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListSuppressionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListSuppressionsRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classListSuppressionsRequest.Builderstatic classListSuppressionsRequest.SortByThe field to sort by.
 - 
Constructor SummaryConstructors Constructor Description ListSuppressionsRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListSuppressionsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The OCID for the compartment.StringgetEmailAddress()The email address of the suppression.IntegergetLimit()For list pagination.StringgetOpcRequestId()The request ID for tracing from the systemStringgetPage()For list pagination.ListSuppressionsRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ascending or descending order.DategetTimeCreatedGreaterThanOrEqualTo()Search for suppressions that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive).DategetTimeCreatedLessThan()Search for suppressions that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive).inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListSuppressionsRequest.BuildertoBuilder()Return an instance ofListSuppressionsRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getCompartmentIdpublic String getCompartmentId() The OCID for the compartment.
 - 
getOpcRequestIdpublic String getOpcRequestId() The request ID for tracing from the system
 - 
getEmailAddresspublic String getEmailAddress() The email address of the suppression.
 - 
getTimeCreatedGreaterThanOrEqualTopublic Date getTimeCreatedGreaterThanOrEqualTo() Search for suppressions that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive).Specifying this parameter without the corresponding timeCreatedLessThan parameter will retrieve suppressions created from the given timeCreatedGreaterThanOrEqualTo to the current time, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339. *Example:** 2016-12-19T16:39:57.600Z 
 - 
getTimeCreatedLessThanpublic Date getTimeCreatedLessThan() Search for suppressions that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive).Specifying this parameter without the corresponding timeCreatedGreaterThanOrEqualTo parameter will retrieve all suppressions created before the specified end date, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339. *Example:** 2016-12-19T16:39:57.600Z 
 - 
getPagepublic String getPage() For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination. 
 - 
getLimitpublic Integer getLimit() For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. 1 is the minimum, 1000 is the maximum. For important details about how pagination works, see List Pagination. 
 - 
getSortBypublic ListSuppressionsRequest.SortBy getSortBy() The field to sort by.The TIMECREATED value returns the list in in descending order by default. The EMAILADDRESS value returns the list in ascending order by default. Use the SortOrderQueryParam to change the direction of the returned list of items. 
 - 
getSortOrderpublic SortOrder getSortOrder() The sort order to use, either ascending or descending order.
 - 
toBuilderpublic ListSuppressionsRequest.Builder toBuilder() Return an instance ofListSuppressionsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ListSuppressionsRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ListSuppressionsRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-