Class EmailWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Email.
Inherited Members
Namespace: Oci.EmailService
Assembly: OCI.DotNetSDK.Email.dll
Syntax
public class EmailWaiters
Constructors
EmailWaiters(EmailClient)
Declaration
public EmailWaiters(EmailClient client)
Parameters
Type | Name | Description |
---|---|---|
EmailClient | client |
Methods
ForDkim(GetDkimRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDkimRequest, GetDkimResponse> ForDkim(GetDkimRequest request, WaiterConfiguration config, params Dkim.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDkimRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetDkimRequest, GetDkimResponse> | a new Oci.common.Waiter instance |
ForDkim(GetDkimRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDkimRequest, GetDkimResponse> ForDkim(GetDkimRequest request, params Dkim.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDkimRequest | request | Request to send. |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetDkimRequest, GetDkimResponse> | a new Oci.common.Waiter instance |
ForEmailDomain(GetEmailDomainRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetEmailDomainRequest, GetEmailDomainResponse> ForEmailDomain(GetEmailDomainRequest request, WaiterConfiguration config, params EmailDomain.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEmailDomainRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetEmailDomainRequest, GetEmailDomainResponse> | a new Oci.common.Waiter instance |
ForEmailDomain(GetEmailDomainRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetEmailDomainRequest, GetEmailDomainResponse> ForEmailDomain(GetEmailDomainRequest request, params EmailDomain.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEmailDomainRequest | request | Request to send. |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetEmailDomainRequest, GetEmailDomainResponse> | a new Oci.common.Waiter instance |
ForEmailReturnPath(GetEmailReturnPathRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetEmailReturnPathRequest, GetEmailReturnPathResponse> ForEmailReturnPath(GetEmailReturnPathRequest request, WaiterConfiguration config, params EmailReturnPath.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEmailReturnPathRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetEmailReturnPathRequest, GetEmailReturnPathResponse> | a new Oci.common.Waiter instance |
ForEmailReturnPath(GetEmailReturnPathRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetEmailReturnPathRequest, GetEmailReturnPathResponse> ForEmailReturnPath(GetEmailReturnPathRequest request, params EmailReturnPath.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetEmailReturnPathRequest | request | Request to send. |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetEmailReturnPathRequest, GetEmailReturnPathResponse> | a new Oci.common.Waiter instance |
ForSender(GetSenderRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSenderRequest, GetSenderResponse> ForSender(GetSenderRequest request, WaiterConfiguration config, params Sender.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSenderRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetSenderRequest, GetSenderResponse> | a new Oci.common.Waiter instance |
ForSender(GetSenderRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSenderRequest, GetSenderResponse> ForSender(GetSenderRequest request, params Sender.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSenderRequest | request | Request to send. |
LifecycleStateEnum[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetSenderRequest, GetSenderResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params OperationStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
OperationStatus[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, params OperationStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
OperationStatus[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |