Interface Email
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- EmailClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public interface Email extends AutoCloseableUse the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service.For more information, see Overview of the Email Delivery Service. *Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. If a subsequent read request fails to reflect your changes, wait a few minutes and try again. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AddEmailDomainLockResponseaddEmailDomainLock(AddEmailDomainLockRequest request)Adds a lock to a resource.AddReturnPathLockResponseaddReturnPathLock(AddReturnPathLockRequest request)Adds a lock to a resource.AddSenderLockResponseaddSenderLock(AddSenderLockRequest request)Adds a lock to a resource.ChangeEmailDomainCompartmentResponsechangeEmailDomainCompartment(ChangeEmailDomainCompartmentRequest request)Moves an email domain into a different compartment.ChangeSenderCompartmentResponsechangeSenderCompartment(ChangeSenderCompartmentRequest request)Moves a sender into a different compartment.CreateDkimResponsecreateDkim(CreateDkimRequest request)Creates a new DKIM for an email domain.CreateEmailDomainResponsecreateEmailDomain(CreateEmailDomainRequest request)Creates a new email domain.CreateEmailReturnPathResponsecreateEmailReturnPath(CreateEmailReturnPathRequest request)Creates a new email return path.CreateSenderResponsecreateSender(CreateSenderRequest request)Creates a sender for a tenancy in a given compartment.CreateSuppressionResponsecreateSuppression(CreateSuppressionRequest request)Adds recipient email addresses to the suppression list for a tenancy.DeleteDkimResponsedeleteDkim(DeleteDkimRequest request)Deletes a DKIM.DeleteEmailDomainResponsedeleteEmailDomain(DeleteEmailDomainRequest request)Deletes an email domain.DeleteEmailReturnPathResponsedeleteEmailReturnPath(DeleteEmailReturnPathRequest request)Deletes an email return path.DeleteSenderResponsedeleteSender(DeleteSenderRequest request)Deletes an approved sender for a tenancy in a given compartment for a providedsenderId.DeleteSuppressionResponsedeleteSuppression(DeleteSuppressionRequest request)Removes a suppressed recipient email address from the suppression list for a tenancy in a given compartment for a providedsuppressionId.GetDkimResponsegetDkim(GetDkimRequest request)Retrieves the specified DKIM.GetEmailConfigurationResponsegetEmailConfiguration(GetEmailConfigurationRequest request)Returns email configuration associated with the specified compartment.GetEmailDomainResponsegetEmailDomain(GetEmailDomainRequest request)Retrieves the specified email domain.GetEmailReturnPathResponsegetEmailReturnPath(GetEmailReturnPathRequest request)Retrieves the specified email return path.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)EmailPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetSenderResponsegetSender(GetSenderRequest request)Gets an approved sender for a givensenderId.GetSuppressionResponsegetSuppression(GetSuppressionRequest request)Gets the details of a suppressed recipient email address for a givensuppressionId.EmailWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ListDkimsResponselistDkims(ListDkimsRequest request)Lists DKIMs for an email domain.ListEmailDomainsResponselistEmailDomains(ListEmailDomainsRequest request)Lists email domains in the specified compartment.ListEmailReturnPathsResponselistEmailReturnPaths(ListEmailReturnPathsRequest request)Lists email return paths in the specified compartment or emaildomain.ListSendersResponselistSenders(ListSendersRequest request)Gets a collection of approved sender email addresses and sender IDs.ListSuppressionsResponselistSuppressions(ListSuppressionsRequest request)Gets a list of suppressed recipient email addresses for a user.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a (paginated) list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidrefreshClient()Rebuilds the client from scratch.RemoveEmailDomainLockResponseremoveEmailDomainLock(RemoveEmailDomainLockRequest request)Remove a lock to a resource.RemoveReturnPathLockResponseremoveReturnPathLock(RemoveReturnPathLockRequest request)Remove a lock to a resource.RemoveSenderLockResponseremoveSenderLock(RemoveSenderLockRequest request)Remove a lock to a resource.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateDkimResponseupdateDkim(UpdateDkimRequest request)Modifies a DKIM.UpdateEmailDomainResponseupdateEmailDomain(UpdateEmailDomainRequest request)Modifies an email domain.UpdateEmailReturnPathResponseupdateEmailReturnPath(UpdateEmailReturnPathRequest request)Modifies an email return path.UpdateSenderResponseupdateSender(UpdateSenderRequest request)Replaces the set of tags for a sender with the tags provided.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.- 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Method Detail- 
refreshClientvoid refreshClient() Rebuilds the client from scratch.Useful to refresh certificates. 
 - 
setEndpointvoid setEndpoint(String endpoint) Sets the endpoint to call (ex, https://www.example.com).- Parameters:
- endpoint- The endpoint of the service.
 
 - 
getEndpointString getEndpoint() Gets the set endpoint for REST call (ex, https://www.example.com)
 - 
setRegionvoid setRegion(Region region) Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
- region- The region of the service.
 
 - 
setRegionvoid setRegion(String regionId) Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format ( Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
- regionId- The public region ID.
 
 - 
useRealmSpecificEndpointTemplatevoid useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled) Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false” - Parameters:
- realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
 
 - 
addEmailDomainLockAddEmailDomainLockResponse addEmailDomainLock(AddEmailDomainLockRequest request) Adds a lock to a resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/AddEmailDomainLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddEmailDomainLock API. 
 
 - 
addReturnPathLockAddReturnPathLockResponse addReturnPathLock(AddReturnPathLockRequest request) Adds a lock to a resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/AddReturnPathLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddReturnPathLock API. 
 
 - 
addSenderLockAddSenderLockResponse addSenderLock(AddSenderLockRequest request) Adds a lock to a resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/AddSenderLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddSenderLock API. 
 
 - 
changeEmailDomainCompartmentChangeEmailDomainCompartmentResponse changeEmailDomainCompartment(ChangeEmailDomainCompartmentRequest request) Moves an email domain into a different compartment.When provided, If-Match is checked against ETag value of the resource. For information about moving resources between compartments, see Moving Resources to a Different Compartment. *Note:** All DKIM objects associated with this email domain will also be moved into the provided compartment. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ChangeEmailDomainCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeEmailDomainCompartment API. 
 
 - 
changeSenderCompartmentChangeSenderCompartmentResponse changeSenderCompartment(ChangeSenderCompartmentRequest request) Moves a sender into a different compartment.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ChangeSenderCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeSenderCompartment API. 
 
 - 
createDkimCreateDkimResponse createDkim(CreateDkimRequest request) Creates a new DKIM for an email domain.This DKIM signs all approved senders in the tenancy that are in this email domain. Best security practices indicate to periodically rotate the DKIM that is doing the signing. When a second DKIM is applied, all senders seamlessly pick up the new key without interruption in signing. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/CreateDkimExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDkim API. 
 
 - 
createEmailDomainCreateEmailDomainResponse createEmailDomain(CreateEmailDomainRequest request) Creates a new email domain.Avoid entering confidential information. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/CreateEmailDomainExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateEmailDomain API. 
 
 - 
createEmailReturnPathCreateEmailReturnPathResponse createEmailReturnPath(CreateEmailReturnPathRequest request) Creates a new email return path.Avoid entering confidential information. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/CreateEmailReturnPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateEmailReturnPath API. 
 
 - 
createSenderCreateSenderResponse createSender(CreateSenderRequest request) Creates a sender for a tenancy in a given compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/CreateSenderExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateSender API. 
 
 - 
createSuppressionCreateSuppressionResponse createSuppression(CreateSuppressionRequest request) Adds recipient email addresses to the suppression list for a tenancy.Addresses added to the suppression list via the API are denoted as "MANUAL" in the reasonfield. Note: All email addresses added to the suppression list are normalized to include only lowercase letters.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/CreateSuppressionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateSuppression API. 
 
 - 
deleteDkimDeleteDkimResponse deleteDkim(DeleteDkimRequest request) Deletes a DKIM.If this key is currently the active key for the email domain, deleting the key will stop signing the domain’s outgoing mail. DKIM keys are left in DELETING state for about a day to allow DKIM signatures on in-transit mail to be validated. Consider creating a new DKIM for this domain so the signing can be rotated to it instead of deletion. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/DeleteDkimExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDkim API. 
 
 - 
deleteEmailDomainDeleteEmailDomainResponse deleteEmailDomain(DeleteEmailDomainRequest request) Deletes an email domain.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/DeleteEmailDomainExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteEmailDomain API. 
 
 - 
deleteEmailReturnPathDeleteEmailReturnPathResponse deleteEmailReturnPath(DeleteEmailReturnPathRequest request) Deletes an email return path.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/DeleteEmailReturnPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteEmailReturnPath API. 
 
 - 
deleteSenderDeleteSenderResponse deleteSender(DeleteSenderRequest request) Deletes an approved sender for a tenancy in a given compartment for a providedsenderId.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/DeleteSenderExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteSender API. 
 
 - 
deleteSuppressionDeleteSuppressionResponse deleteSuppression(DeleteSuppressionRequest request) Removes a suppressed recipient email address from the suppression list for a tenancy in a given compartment for a providedsuppressionId.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/DeleteSuppressionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteSuppression API. 
 
 - 
getDkimGetDkimResponse getDkim(GetDkimRequest request) Retrieves the specified DKIM.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetDkimExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDkim API. 
 
 - 
getEmailConfigurationGetEmailConfigurationResponse getEmailConfiguration(GetEmailConfigurationRequest request) Returns email configuration associated with the specified compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetEmailConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetEmailConfiguration API. 
 
 - 
getEmailDomainGetEmailDomainResponse getEmailDomain(GetEmailDomainRequest request) Retrieves the specified email domain.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetEmailDomainExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetEmailDomain API. 
 
 - 
getEmailReturnPathGetEmailReturnPathResponse getEmailReturnPath(GetEmailReturnPathRequest request) Retrieves the specified email return path.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetEmailReturnPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetEmailReturnPath API. 
 
 - 
getSenderGetSenderResponse getSender(GetSenderRequest request) Gets an approved sender for a givensenderId.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetSenderExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetSender API. 
 
 - 
getSuppressionGetSuppressionResponse getSuppression(GetSuppressionRequest request) Gets the details of a suppressed recipient email address for a givensuppressionId.Each suppression is given a unique OCID. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetSuppressionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetSuppression API. 
 
 - 
getWorkRequestGetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Gets the status of the work request with the given ID.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API. 
 
 - 
listDkimsListDkimsResponse listDkims(ListDkimsRequest request) Lists DKIMs for an email domain.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListDkimsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDkims API. 
 
 - 
listEmailDomainsListEmailDomainsResponse listEmailDomains(ListEmailDomainsRequest request) Lists email domains in the specified compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListEmailDomainsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEmailDomains API. 
 
 - 
listEmailReturnPathsListEmailReturnPathsResponse listEmailReturnPaths(ListEmailReturnPathsRequest request) Lists email return paths in the specified compartment or emaildomain.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListEmailReturnPathsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEmailReturnPaths API. 
 
 - 
listSendersListSendersResponse listSenders(ListSendersRequest request) Gets a collection of approved sender email addresses and sender IDs.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListSendersExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListSenders API. 
 
 - 
listSuppressionsListSuppressionsResponse listSuppressions(ListSuppressionsRequest request) Gets a list of suppressed recipient email addresses for a user.The compartmentIdfor suppressions must be a tenancy OCID. The returned list is sorted by creation time in descending order.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- 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 ListSuppressions API. 
 
 - 
listWorkRequestErrorsListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Return a (paginated) list of errors for a given work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API. 
 
 - 
listWorkRequestLogsListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Return a (paginated) list of logs for a given work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API. 
 
 - 
listWorkRequestsListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Lists the work requests in a compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API. 
 
 - 
removeEmailDomainLockRemoveEmailDomainLockResponse removeEmailDomainLock(RemoveEmailDomainLockRequest request) Remove a lock to a resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/RemoveEmailDomainLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemoveEmailDomainLock API. 
 
 - 
removeReturnPathLockRemoveReturnPathLockResponse removeReturnPathLock(RemoveReturnPathLockRequest request) Remove a lock to a resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/RemoveReturnPathLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemoveReturnPathLock API. 
 
 - 
removeSenderLockRemoveSenderLockResponse removeSenderLock(RemoveSenderLockRequest request) Remove a lock to a resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/RemoveSenderLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemoveSenderLock API. 
 
 - 
updateDkimUpdateDkimResponse updateDkim(UpdateDkimRequest request) Modifies a DKIM.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/UpdateDkimExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDkim API. 
 
 - 
updateEmailDomainUpdateEmailDomainResponse updateEmailDomain(UpdateEmailDomainRequest request) Modifies an email domain.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/UpdateEmailDomainExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateEmailDomain API. 
 
 - 
updateEmailReturnPathUpdateEmailReturnPathResponse updateEmailReturnPath(UpdateEmailReturnPathRequest request) Modifies an email return path.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/UpdateEmailReturnPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateEmailReturnPath API. 
 
 - 
updateSenderUpdateSenderResponse updateSender(UpdateSenderRequest request) Replaces the set of tags for a sender with the tags provided.If either freeform or defined tags are omitted, the tags for that set remain the same. Each set must include the full set of tags for the sender, partial updates are not permitted. For more information about tagging, see Resource Tags. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/email/UpdateSenderExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateSender API. 
 
 - 
getWaitersEmailWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsEmailPaginators getPaginators() Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
 
 
- 
 
-