Package com.oracle.bmc.email
Class EmailWaiters
- java.lang.Object
- 
- com.oracle.bmc.email.EmailWaiters
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class EmailWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of Email.The default configuration used is defined by com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
- 
- 
Constructor SummaryConstructors Constructor Description EmailWaiters(ExecutorService executorService, Email client)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
EmailWaiterspublic EmailWaiters(ExecutorService executorService, Email client) 
 
- 
 - 
Method Detail- 
forDkimpublic Waiter<GetDkimRequest,GetDkimResponse> forDkim(GetDkimRequest request, Dkim.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
- Returns:
- a new Waiter instance
 
 - 
forDkimpublic Waiter<GetDkimRequest,GetDkimResponse> forDkim(GetDkimRequest request, Dkim.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forDkimpublic Waiter<GetDkimRequest,GetDkimResponse> forDkim(GetDkimRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Dkim.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forEmailDomainpublic Waiter<GetEmailDomainRequest,GetEmailDomainResponse> forEmailDomain(GetEmailDomainRequest request, EmailDomain.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
- Returns:
- a new Waiter instance
 
 - 
forEmailDomainpublic Waiter<GetEmailDomainRequest,GetEmailDomainResponse> forEmailDomain(GetEmailDomainRequest request, EmailDomain.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forEmailDomainpublic Waiter<GetEmailDomainRequest,GetEmailDomainResponse> forEmailDomain(GetEmailDomainRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, EmailDomain.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forEmailReturnPathpublic Waiter<GetEmailReturnPathRequest,GetEmailReturnPathResponse> forEmailReturnPath(GetEmailReturnPathRequest request, EmailReturnPath.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
- Returns:
- a new Waiter instance
 
 - 
forEmailReturnPathpublic Waiter<GetEmailReturnPathRequest,GetEmailReturnPathResponse> forEmailReturnPath(GetEmailReturnPathRequest request, EmailReturnPath.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forEmailReturnPathpublic Waiter<GetEmailReturnPathRequest,GetEmailReturnPathResponse> forEmailReturnPath(GetEmailReturnPathRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, EmailReturnPath.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forSenderpublic Waiter<GetSenderRequest,GetSenderResponse> forSender(GetSenderRequest request, Sender.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
- Returns:
- a new Waiter instance
 
 - 
forSenderpublic Waiter<GetSenderRequest,GetSenderResponse> forSender(GetSenderRequest request, Sender.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forSenderpublic Waiter<GetSenderRequest,GetSenderResponse> forSender(GetSenderRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Sender.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forWorkRequestpublic Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request) Creates a newWaiterusing default configuration.- Parameters:
- request- the request to send
- Returns:
- a new Waiter instance
 
 - 
forWorkRequestpublic Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the to use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
 
-