Interface NeptuneGraphAsyncWaiter
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
builder() method-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aNeptuneGraphAsyncWaiter.static NeptuneGraphAsyncWaitercreate()Create an instance ofNeptuneGraphAsyncWaiterwith the default configuration.default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(Consumer<GetGraphRequest.Builder> getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis met, or until it is determined that the resource will never enter into the desired state.default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(Consumer<GetGraphRequest.Builder> getGraphRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis met, or until it is determined that the resource will never enter into the desired state.default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(GetGraphRequest getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis met, or until it is determined that the resource will never enter into the desired statedefault CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(GetGraphRequest getGraphRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis met, or until it is determined that the resource will never enter into the desired statedefault CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(Consumer<GetGraphRequest.Builder> getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis met, or until it is determined that the resource will never enter into the desired state.default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(Consumer<GetGraphRequest.Builder> getGraphRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis met, or until it is determined that the resource will never enter into the desired state.default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(GetGraphRequest getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis met, or until it is determined that the resource will never enter into the desired statedefault CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(GetGraphRequest getGraphRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilGraphSnapshotAvailable(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilGraphSnapshotAvailable(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilGraphSnapshotAvailable(GetGraphSnapshotRequest getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilGraphSnapshotAvailable(GetGraphSnapshotRequest getGraphSnapshotRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilGraphSnapshotDeleted(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilGraphSnapshotDeleted(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilGraphSnapshotDeleted(GetGraphSnapshotRequest getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilGraphSnapshotDeleted(GetGraphSnapshotRequest getGraphSnapshotRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilImportTaskCancelled(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis met, or until it is determined that the resource will never enter into the desired state.waitUntilImportTaskCancelled(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis met, or until it is determined that the resource will never enter into the desired state.waitUntilImportTaskCancelled(GetImportTaskRequest getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis met, or until it is determined that the resource will never enter into the desired statewaitUntilImportTaskCancelled(GetImportTaskRequest getImportTaskRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis met, or until it is determined that the resource will never enter into the desired statewaitUntilImportTaskSuccessful(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis met, or until it is determined that the resource will never enter into the desired state.waitUntilImportTaskSuccessful(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis met, or until it is determined that the resource will never enter into the desired state.waitUntilImportTaskSuccessful(GetImportTaskRequest getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis met, or until it is determined that the resource will never enter into the desired statewaitUntilImportTaskSuccessful(GetImportTaskRequest getImportTaskRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis met, or until it is determined that the resource will never enter into the desired statewaitUntilPrivateGraphEndpointAvailable(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilPrivateGraphEndpointAvailable(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilPrivateGraphEndpointAvailable(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilPrivateGraphEndpointAvailable(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilPrivateGraphEndpointDeleted(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilPrivateGraphEndpointDeleted(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilPrivateGraphEndpointDeleted(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilPrivateGraphEndpointDeleted(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis 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
-
waitUntilGraphAvailable
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(GetGraphRequest getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilGraphAvailable
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(Consumer<GetGraphRequest.Builder> getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis 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
GetGraphRequest.builder()- Parameters:
getGraphRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphAvailable
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(GetGraphRequest getGraphRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphRequest- 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
-
waitUntilGraphAvailable
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphAvailable(Consumer<GetGraphRequest.Builder> getGraphRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphAvailableis 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:
getGraphRequest- 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
-
waitUntilGraphDeleted
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(GetGraphRequest getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilGraphDeleted
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(Consumer<GetGraphRequest.Builder> getGraphRequest) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis 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
GetGraphRequest.builder()- Parameters:
getGraphRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphDeleted
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(GetGraphRequest getGraphRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphRequest- 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
-
waitUntilGraphDeleted
default CompletableFuture<WaiterResponse<GetGraphResponse>> waitUntilGraphDeleted(Consumer<GetGraphRequest.Builder> getGraphRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraph(software.amazon.awssdk.services.neptunegraph.model.GetGraphRequest)API until the desired conditionGraphDeletedis 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:
getGraphRequest- 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
-
waitUntilGraphSnapshotAvailable
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotAvailable(GetGraphSnapshotRequest getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphSnapshotRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilGraphSnapshotAvailable
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotAvailable(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis 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
GetGraphSnapshotRequest.builder()- Parameters:
getGraphSnapshotRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphSnapshotAvailable
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotAvailable(GetGraphSnapshotRequest getGraphSnapshotRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphSnapshotRequest- 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
-
waitUntilGraphSnapshotAvailable
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotAvailable(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotAvailableis 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:
getGraphSnapshotRequest- 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
-
waitUntilGraphSnapshotDeleted
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotDeleted(GetGraphSnapshotRequest getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphSnapshotRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilGraphSnapshotDeleted
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotDeleted(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis 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
GetGraphSnapshotRequest.builder()- Parameters:
getGraphSnapshotRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphSnapshotDeleted
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotDeleted(GetGraphSnapshotRequest getGraphSnapshotRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getGraphSnapshotRequest- 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
-
waitUntilGraphSnapshotDeleted
default CompletableFuture<WaiterResponse<GetGraphSnapshotResponse>> waitUntilGraphSnapshotDeleted(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getGraphSnapshot(software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotRequest)API until the desired conditionGraphSnapshotDeletedis 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:
getGraphSnapshotRequest- 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
-
waitUntilImportTaskCancelled
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskCancelled(GetImportTaskRequest getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getImportTaskRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilImportTaskCancelled
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskCancelled(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis 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
GetImportTaskRequest.builder()- Parameters:
getImportTaskRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImportTaskCancelled
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskCancelled(GetImportTaskRequest getImportTaskRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getImportTaskRequest- 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
-
waitUntilImportTaskCancelled
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskCancelled(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskCancelledis 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:
getImportTaskRequest- 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
-
waitUntilImportTaskSuccessful
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskSuccessful(GetImportTaskRequest getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getImportTaskRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilImportTaskSuccessful
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskSuccessful(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis 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
GetImportTaskRequest.builder()- Parameters:
getImportTaskRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImportTaskSuccessful
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskSuccessful(GetImportTaskRequest getImportTaskRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getImportTaskRequest- 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
-
waitUntilImportTaskSuccessful
default CompletableFuture<WaiterResponse<GetImportTaskResponse>> waitUntilImportTaskSuccessful(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getImportTask(software.amazon.awssdk.services.neptunegraph.model.GetImportTaskRequest)API until the desired conditionImportTaskSuccessfulis 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:
getImportTaskRequest- 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
-
waitUntilPrivateGraphEndpointAvailable
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointAvailable(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getPrivateGraphEndpointRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilPrivateGraphEndpointAvailable
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointAvailable(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis 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
GetPrivateGraphEndpointRequest.builder()- Parameters:
getPrivateGraphEndpointRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPrivateGraphEndpointAvailable
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointAvailable(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getPrivateGraphEndpointRequest- 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
-
waitUntilPrivateGraphEndpointAvailable
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointAvailable(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointAvailableis 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:
getPrivateGraphEndpointRequest- 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
-
waitUntilPrivateGraphEndpointDeleted
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointDeleted(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getPrivateGraphEndpointRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilPrivateGraphEndpointDeleted
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointDeleted(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis 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
GetPrivateGraphEndpointRequest.builder()- Parameters:
getPrivateGraphEndpointRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPrivateGraphEndpointDeleted
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointDeleted(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest, WaiterOverrideConfiguration overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getPrivateGraphEndpointRequest- 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
-
waitUntilPrivateGraphEndpointDeleted
default CompletableFuture<WaiterResponse<GetPrivateGraphEndpointResponse>> waitUntilPrivateGraphEndpointDeleted(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsNeptuneGraphAsyncClient.getPrivateGraphEndpoint(software.amazon.awssdk.services.neptunegraph.model.GetPrivateGraphEndpointRequest)API until the desired conditionPrivateGraphEndpointDeletedis 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:
getPrivateGraphEndpointRequest- 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 aNeptuneGraphAsyncWaiter.- Returns:
- a builder
-
create
Create an instance ofNeptuneGraphAsyncWaiterwith the default configuration.A default
NeptuneGraphAsyncClientwill 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
NeptuneGraphAsyncWaiter
-