Class GovernanceRuleWaiters
- java.lang.Object
- 
- com.oracle.bmc.governancerulescontrolplane.GovernanceRuleWaiters
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220504") public class GovernanceRuleWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of GovernanceRule.The default configuration used is defined by com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
- 
- 
Constructor SummaryConstructors Constructor Description GovernanceRuleWaiters(ExecutorService executorService, GovernanceRule client)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
GovernanceRuleWaiterspublic GovernanceRuleWaiters(ExecutorService executorService, GovernanceRule client) 
 
- 
 - 
Method Detail- 
forEnforcedGovernanceRulepublic Waiter<GetEnforcedGovernanceRuleRequest,GetEnforcedGovernanceRuleResponse> forEnforcedGovernanceRule(GetEnforcedGovernanceRuleRequest request, GovernanceRuleLifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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 com.oracle.bmc.waiter.Waiter instance
 
 - 
forEnforcedGovernanceRulepublic Waiter<GetEnforcedGovernanceRuleRequest,GetEnforcedGovernanceRuleResponse> forEnforcedGovernanceRule(GetEnforcedGovernanceRuleRequest request, GovernanceRuleLifecycleState 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
 
 - 
forEnforcedGovernanceRulepublic Waiter<GetEnforcedGovernanceRuleRequest,GetEnforcedGovernanceRuleResponse> forEnforcedGovernanceRule(GetEnforcedGovernanceRuleRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, GovernanceRuleLifecycleState... 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 Waiter instance
 
 - 
forGovernanceRulepublic Waiter<GetGovernanceRuleRequest,GetGovernanceRuleResponse> forGovernanceRule(GetGovernanceRuleRequest request, GovernanceRuleLifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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 com.oracle.bmc.waiter.Waiter instance
 
 - 
forGovernanceRulepublic Waiter<GetGovernanceRuleRequest,GetGovernanceRuleResponse> forGovernanceRule(GetGovernanceRuleRequest request, GovernanceRuleLifecycleState 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
 
 - 
forGovernanceRulepublic Waiter<GetGovernanceRuleRequest,GetGovernanceRuleResponse> forGovernanceRule(GetGovernanceRuleRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, GovernanceRuleLifecycleState... 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 Waiter instance
 
 - 
forInclusionCriterionpublic Waiter<GetInclusionCriterionRequest,GetInclusionCriterionResponse> forInclusionCriterion(GetInclusionCriterionRequest request, InclusionCriterion.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
 
 - 
forInclusionCriterionpublic Waiter<GetInclusionCriterionRequest,GetInclusionCriterionResponse> forInclusionCriterion(GetInclusionCriterionRequest request, InclusionCriterion.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
 
 - 
forInclusionCriterionpublic Waiter<GetInclusionCriterionRequest,GetInclusionCriterionResponse> forInclusionCriterion(GetInclusionCriterionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, InclusionCriterion.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
 
 - 
forTenancyAttachmentpublic Waiter<GetTenancyAttachmentRequest,GetTenancyAttachmentResponse> forTenancyAttachment(GetTenancyAttachmentRequest request, TenancyAttachment.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
 
 - 
forTenancyAttachmentpublic Waiter<GetTenancyAttachmentRequest,GetTenancyAttachmentResponse> forTenancyAttachment(GetTenancyAttachmentRequest request, TenancyAttachment.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
 
 - 
forTenancyAttachmentpublic Waiter<GetTenancyAttachmentRequest,GetTenancyAttachmentResponse> forTenancyAttachment(GetTenancyAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, TenancyAttachment.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
 
 
- 
 
-