Class FleetAppsManagementAdminWaiters
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.FleetAppsManagementAdminWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public class FleetAppsManagementAdminWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of FleetAppsManagementAdmin.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description FleetAppsManagementAdminWaiters(ExecutorService executorService, FleetAppsManagementAdmin client)
-
Method Summary
-
-
-
Constructor Detail
-
FleetAppsManagementAdminWaiters
public FleetAppsManagementAdminWaiters(ExecutorService executorService, FleetAppsManagementAdmin client)
-
-
Method Detail
-
forCompliancePolicy
public Waiter<GetCompliancePolicyRequest,GetCompliancePolicyResponse> forCompliancePolicy(GetCompliancePolicyRequest request, CompliancePolicy.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetStates
- 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
-
forCompliancePolicy
public Waiter<GetCompliancePolicyRequest,GetCompliancePolicyResponse> forCompliancePolicy(GetCompliancePolicyRequest request, CompliancePolicy.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forCompliancePolicy
public Waiter<GetCompliancePolicyRequest,GetCompliancePolicyResponse> forCompliancePolicy(GetCompliancePolicyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, CompliancePolicy.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- 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
-
forCompliancePolicyRule
public Waiter<GetCompliancePolicyRuleRequest,GetCompliancePolicyRuleResponse> forCompliancePolicyRule(GetCompliancePolicyRuleRequest request, CompliancePolicyRule.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetStates
- 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
-
forCompliancePolicyRule
public Waiter<GetCompliancePolicyRuleRequest,GetCompliancePolicyRuleResponse> forCompliancePolicyRule(GetCompliancePolicyRuleRequest request, CompliancePolicyRule.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forCompliancePolicyRule
public Waiter<GetCompliancePolicyRuleRequest,GetCompliancePolicyRuleResponse> forCompliancePolicyRule(GetCompliancePolicyRuleRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, CompliancePolicyRule.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- 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
-
forOnboarding
public Waiter<GetOnboardingRequest,GetOnboardingResponse> forOnboarding(GetOnboardingRequest request, Onboarding.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetStates
- 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
-
forOnboarding
public Waiter<GetOnboardingRequest,GetOnboardingResponse> forOnboarding(GetOnboardingRequest request, Onboarding.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forOnboarding
public Waiter<GetOnboardingRequest,GetOnboardingResponse> forOnboarding(GetOnboardingRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Onboarding.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- 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
-
forPlatformConfiguration
public Waiter<GetPlatformConfigurationRequest,GetPlatformConfigurationResponse> forPlatformConfiguration(GetPlatformConfigurationRequest request, PlatformConfiguration.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetStates
- 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
-
forPlatformConfiguration
public Waiter<GetPlatformConfigurationRequest,GetPlatformConfigurationResponse> forPlatformConfiguration(GetPlatformConfigurationRequest request, PlatformConfiguration.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forPlatformConfiguration
public Waiter<GetPlatformConfigurationRequest,GetPlatformConfigurationResponse> forPlatformConfiguration(GetPlatformConfigurationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PlatformConfiguration.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- 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
-
forProperty
public Waiter<GetPropertyRequest,GetPropertyResponse> forProperty(GetPropertyRequest request, Property.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetStates
- 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
-
forProperty
public Waiter<GetPropertyRequest,GetPropertyResponse> forProperty(GetPropertyRequest request, Property.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forProperty
public Waiter<GetPropertyRequest,GetPropertyResponse> forProperty(GetPropertyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Property.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- 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
-
-