Class EmailClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.email.EmailClient
 
 
- 
- All Implemented Interfaces:
- Email,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class EmailClient extends BaseSyncClient implements Email
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEmailClient.BuilderBuilder class for this client.
 - 
Field SummaryFields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for Email.
 - 
Constructor SummaryConstructors Constructor Description EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.EmailClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.EmailClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.EmailClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete 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.static EmailClient.Builderbuilder()Create a builder for this client.ChangeEmailDomainCompartmentResponsechangeEmailDomainCompartment(ChangeEmailDomainCompartmentRequest request)Moves an email domain into a different compartment.ChangeSenderCompartmentResponsechangeSenderCompartment(ChangeSenderCompartmentRequest request)Moves a sender into a different compartment.voidclose()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.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()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()Optional<String>getMinimumClientCommonLibraryVersionFromClient()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.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.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)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’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.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 useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.- 
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.email.EmailgetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
EmailClient@Deprecated public EmailClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
EmailClient@Deprecated public EmailClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
EmailClient@Deprecated public EmailClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
EmailClient@Deprecated public EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
EmailClient@Deprecated public EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
EmailClient@Deprecated public EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
 
 - 
EmailClient@Deprecated public EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
 
 - 
EmailClient@Deprecated public EmailClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- EmailClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
- executorService-- EmailClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static EmailClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:EmailSets 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.
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:EmailSets 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.
 - 
addEmailDomainLockpublic AddEmailDomainLockResponse addEmailDomainLock(AddEmailDomainLockRequest request) Description copied from interface:EmailAdds a lock to a resource.- Specified by:
- addEmailDomainLockin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
addReturnPathLockpublic AddReturnPathLockResponse addReturnPathLock(AddReturnPathLockRequest request) Description copied from interface:EmailAdds a lock to a resource.- Specified by:
- addReturnPathLockin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
addSenderLockpublic AddSenderLockResponse addSenderLock(AddSenderLockRequest request) Description copied from interface:EmailAdds a lock to a resource.- Specified by:
- addSenderLockin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeEmailDomainCompartmentpublic ChangeEmailDomainCompartmentResponse changeEmailDomainCompartment(ChangeEmailDomainCompartmentRequest request) Description copied from interface:EmailMoves 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. - Specified by:
- changeEmailDomainCompartmentin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeSenderCompartmentpublic ChangeSenderCompartmentResponse changeSenderCompartment(ChangeSenderCompartmentRequest request) Description copied from interface:EmailMoves a sender into a different compartment.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- changeSenderCompartmentin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createDkimpublic CreateDkimResponse createDkim(CreateDkimRequest request) Description copied from interface:EmailCreates 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. - Specified by:
- createDkimin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createEmailDomainpublic CreateEmailDomainResponse createEmailDomain(CreateEmailDomainRequest request) Description copied from interface:EmailCreates a new email domain.Avoid entering confidential information. - Specified by:
- createEmailDomainin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createEmailReturnPathpublic CreateEmailReturnPathResponse createEmailReturnPath(CreateEmailReturnPathRequest request) Description copied from interface:EmailCreates a new email return path.Avoid entering confidential information. - Specified by:
- createEmailReturnPathin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createSenderpublic CreateSenderResponse createSender(CreateSenderRequest request) Description copied from interface:EmailCreates a sender for a tenancy in a given compartment.- Specified by:
- createSenderin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createSuppressionpublic CreateSuppressionResponse createSuppression(CreateSuppressionRequest request) Description copied from interface:EmailAdds 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.- Specified by:
- createSuppressionin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteDkimpublic DeleteDkimResponse deleteDkim(DeleteDkimRequest request) Description copied from interface:EmailDeletes 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. - Specified by:
- deleteDkimin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteEmailDomainpublic DeleteEmailDomainResponse deleteEmailDomain(DeleteEmailDomainRequest request) Description copied from interface:EmailDeletes an email domain.- Specified by:
- deleteEmailDomainin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteEmailReturnPathpublic DeleteEmailReturnPathResponse deleteEmailReturnPath(DeleteEmailReturnPathRequest request) Description copied from interface:EmailDeletes an email return path.- Specified by:
- deleteEmailReturnPathin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteSenderpublic DeleteSenderResponse deleteSender(DeleteSenderRequest request) Description copied from interface:EmailDeletes an approved sender for a tenancy in a given compartment for a providedsenderId.- Specified by:
- deleteSenderin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteSuppressionpublic DeleteSuppressionResponse deleteSuppression(DeleteSuppressionRequest request) Description copied from interface:EmailRemoves a suppressed recipient email address from the suppression list for a tenancy in a given compartment for a providedsuppressionId.- Specified by:
- deleteSuppressionin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getDkimpublic GetDkimResponse getDkim(GetDkimRequest request) Description copied from interface:EmailRetrieves the specified DKIM.
 - 
getEmailConfigurationpublic GetEmailConfigurationResponse getEmailConfiguration(GetEmailConfigurationRequest request) Description copied from interface:EmailReturns email configuration associated with the specified compartment.- Specified by:
- getEmailConfigurationin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getEmailDomainpublic GetEmailDomainResponse getEmailDomain(GetEmailDomainRequest request) Description copied from interface:EmailRetrieves the specified email domain.- Specified by:
- getEmailDomainin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getEmailReturnPathpublic GetEmailReturnPathResponse getEmailReturnPath(GetEmailReturnPathRequest request) Description copied from interface:EmailRetrieves the specified email return path.- Specified by:
- getEmailReturnPathin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getSenderpublic GetSenderResponse getSender(GetSenderRequest request) Description copied from interface:EmailGets an approved sender for a givensenderId.
 - 
getSuppressionpublic GetSuppressionResponse getSuppression(GetSuppressionRequest request) Description copied from interface:EmailGets the details of a suppressed recipient email address for a givensuppressionId.Each suppression is given a unique OCID. - Specified by:
- getSuppressionin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWorkRequestpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Description copied from interface:EmailGets the status of the work request with the given ID.- Specified by:
- getWorkRequestin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listDkimspublic ListDkimsResponse listDkims(ListDkimsRequest request) Description copied from interface:EmailLists DKIMs for an email domain.
 - 
listEmailDomainspublic ListEmailDomainsResponse listEmailDomains(ListEmailDomainsRequest request) Description copied from interface:EmailLists email domains in the specified compartment.- Specified by:
- listEmailDomainsin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listEmailReturnPathspublic ListEmailReturnPathsResponse listEmailReturnPaths(ListEmailReturnPathsRequest request) Description copied from interface:EmailLists email return paths in the specified compartment or emaildomain.- Specified by:
- listEmailReturnPathsin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listSenderspublic ListSendersResponse listSenders(ListSendersRequest request) Description copied from interface:EmailGets a collection of approved sender email addresses and sender IDs.- Specified by:
- listSendersin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listSuppressionspublic ListSuppressionsResponse listSuppressions(ListSuppressionsRequest request) Description copied from interface:EmailGets 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.- Specified by:
- listSuppressionsin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestErrorspublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Description copied from interface:EmailReturn a (paginated) list of errors for a given work request.- Specified by:
- listWorkRequestErrorsin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestLogspublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Description copied from interface:EmailReturn a (paginated) list of logs for a given work request.- Specified by:
- listWorkRequestLogsin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestspublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Description copied from interface:EmailLists the work requests in a compartment.- Specified by:
- listWorkRequestsin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
removeEmailDomainLockpublic RemoveEmailDomainLockResponse removeEmailDomainLock(RemoveEmailDomainLockRequest request) Description copied from interface:EmailRemove a lock to a resource.- Specified by:
- removeEmailDomainLockin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
removeReturnPathLockpublic RemoveReturnPathLockResponse removeReturnPathLock(RemoveReturnPathLockRequest request) Description copied from interface:EmailRemove a lock to a resource.- Specified by:
- removeReturnPathLockin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
removeSenderLockpublic RemoveSenderLockResponse removeSenderLock(RemoveSenderLockRequest request) Description copied from interface:EmailRemove a lock to a resource.- Specified by:
- removeSenderLockin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateDkimpublic UpdateDkimResponse updateDkim(UpdateDkimRequest request) Description copied from interface:EmailModifies a DKIM.- Specified by:
- updateDkimin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateEmailDomainpublic UpdateEmailDomainResponse updateEmailDomain(UpdateEmailDomainRequest request) Description copied from interface:EmailModifies an email domain.- Specified by:
- updateEmailDomainin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateEmailReturnPathpublic UpdateEmailReturnPathResponse updateEmailReturnPath(UpdateEmailReturnPathRequest request) Description copied from interface:EmailModifies an email return path.- Specified by:
- updateEmailReturnPathin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateSenderpublic UpdateSenderResponse updateSender(UpdateSenderRequest request) Description copied from interface:EmailReplaces 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. - Specified by:
- updateSenderin interface- Email
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic EmailWaiters getWaiters() Description copied from interface:EmailGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- Email
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic EmailPaginators getPaginators() Description copied from interface:EmailGets 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.- Specified by:
- getPaginatorsin interface- Email
- Returns:
- The service paginators.
 
 - 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
useRealmSpecificEndpointTemplatepublic void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled) This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false - Parameters:
- useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
 
 - 
populateServiceParametersInEndpointpublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap) Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank. - Parameters:
- endpoint- The endpoint template in use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic final void updateBaseEndpoint(String endpoint) This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters. - Parameters:
- endpoint- The updated endpoint to use
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-