Interface MachineLearningWaiter
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
builder()
method-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aMachineLearningWaiter
.static MachineLearningWaiter
create()
Create an instance ofMachineLearningWaiter
with the default configuration.waitUntilBatchPredictionAvailable
(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilBatchPredictionAvailable
(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilBatchPredictionAvailable
(DescribeBatchPredictionsRequest describeBatchPredictionsRequest) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilBatchPredictionAvailable
(DescribeBatchPredictionsRequest describeBatchPredictionsRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilDataSourceAvailable
(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilDataSourceAvailable
(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilDataSourceAvailable
(DescribeDataSourcesRequest describeDataSourcesRequest) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilDataSourceAvailable
(DescribeDataSourcesRequest describeDataSourcesRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilEvaluationAvailable
(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilEvaluationAvailable
(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilEvaluationAvailable
(DescribeEvaluationsRequest describeEvaluationsRequest) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilEvaluationAvailable
(DescribeEvaluationsRequest describeEvaluationsRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse
<DescribeMlModelsResponse> waitUntilMLModelAvailable
(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse
<DescribeMlModelsResponse> waitUntilMLModelAvailable
(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse
<DescribeMlModelsResponse> waitUntilMLModelAvailable
(DescribeMlModelsRequest describeMlModelsRequest) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse
<DescribeMlModelsResponse> waitUntilMLModelAvailable
(DescribeMlModelsRequest describeMlModelsRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired stateMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Method Details
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(DescribeBatchPredictionsRequest describeBatchPredictionsRequest) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeBatchPredictionsRequest
- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeBatchPredictionsRequest.builder()
- Parameters:
describeBatchPredictionsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(DescribeBatchPredictionsRequest describeBatchPredictionsRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeBatchPredictionsRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)
API until the desired conditionBatchPredictionAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeBatchPredictionsRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(DescribeDataSourcesRequest describeDataSourcesRequest) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDataSourcesRequest
- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeDataSourcesRequest.builder()
- Parameters:
describeDataSourcesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(DescribeDataSourcesRequest describeDataSourcesRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDataSourcesRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)
API until the desired conditionDataSourceAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeDataSourcesRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(DescribeEvaluationsRequest describeEvaluationsRequest) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeEvaluationsRequest
- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeEvaluationsRequest.builder()
- Parameters:
describeEvaluationsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(DescribeEvaluationsRequest describeEvaluationsRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeEvaluationsRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)
API until the desired conditionEvaluationAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeEvaluationsRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(DescribeMlModelsRequest describeMlModelsRequest) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMlModelsRequest
- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeMlModelsRequest.builder()
- Parameters:
describeMlModelsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(DescribeMlModelsRequest describeMlModelsRequest, WaiterOverrideConfiguration overrideConfig) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMlModelsRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsMachineLearningClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)
API until the desired conditionMLModelAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeMlModelsRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
builder
Create a builder that can be used to configure and create aMachineLearningWaiter
.- Returns:
- a builder
-
create
Create an instance ofMachineLearningWaiter
with the default configuration.A default
MachineLearningClient
will be created to poll resources. It is recommended to share a single instance of the waiter created via this method. If it is not desirable to share a waiter instance, invokeSdkAutoCloseable.close()
to release the resources once the waiter is not needed.- Returns:
- an instance of
MachineLearningWaiter
-