Interface NeptuneGraphWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface NeptuneGraphWaiter extends SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the staticbuilder()method
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNeptuneGraphWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilGraphAvailable
default WaiterResponse<GetGraphResponse> waitUntilGraphAvailable(GetGraphRequest getGraphRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphAvailable
default WaiterResponse<GetGraphResponse> waitUntilGraphAvailable(Consumer<GetGraphRequest.Builder> getGraphRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphAvailable
default WaiterResponse<GetGraphResponse> waitUntilGraphAvailable(GetGraphRequest getGraphRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphResponse> waitUntilGraphAvailable(Consumer<GetGraphRequest.Builder> getGraphRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphResponse> waitUntilGraphDeleted(GetGraphRequest getGraphRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphDeleted
default WaiterResponse<GetGraphResponse> waitUntilGraphDeleted(Consumer<GetGraphRequest.Builder> getGraphRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphDeleted
default WaiterResponse<GetGraphResponse> waitUntilGraphDeleted(GetGraphRequest getGraphRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphResponse> waitUntilGraphDeleted(Consumer<GetGraphRequest.Builder> getGraphRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotAvailable(GetGraphSnapshotRequest getGraphSnapshotRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphSnapshotAvailable
default WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotAvailable(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphSnapshotAvailable
default WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotAvailable(GetGraphSnapshotRequest getGraphSnapshotRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotAvailable(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotDeleted(GetGraphSnapshotRequest getGraphSnapshotRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphSnapshotDeleted
default WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotDeleted(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilGraphSnapshotDeleted
default WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotDeleted(GetGraphSnapshotRequest getGraphSnapshotRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetGraphSnapshotResponse> waitUntilGraphSnapshotDeleted(Consumer<GetGraphSnapshotRequest.Builder> getGraphSnapshotRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetImportTaskResponse> waitUntilImportTaskCancelled(GetImportTaskRequest getImportTaskRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImportTaskCancelled
default WaiterResponse<GetImportTaskResponse> waitUntilImportTaskCancelled(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImportTaskCancelled
default WaiterResponse<GetImportTaskResponse> waitUntilImportTaskCancelled(GetImportTaskRequest getImportTaskRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetImportTaskResponse> waitUntilImportTaskCancelled(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetImportTaskResponse> waitUntilImportTaskSuccessful(GetImportTaskRequest getImportTaskRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImportTaskSuccessful
default WaiterResponse<GetImportTaskResponse> waitUntilImportTaskSuccessful(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImportTaskSuccessful
default WaiterResponse<GetImportTaskResponse> waitUntilImportTaskSuccessful(GetImportTaskRequest getImportTaskRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetImportTaskResponse> waitUntilImportTaskSuccessful(Consumer<GetImportTaskRequest.Builder> getImportTaskRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointAvailable(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPrivateGraphEndpointAvailable
default WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointAvailable(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPrivateGraphEndpointAvailable
default WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointAvailable(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointAvailable(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointDeleted(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPrivateGraphEndpointDeleted
default WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointDeleted(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest)
PollsNeptuneGraphClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPrivateGraphEndpointDeleted
default WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointDeleted(GetPrivateGraphEndpointRequest getPrivateGraphEndpointRequest, WaiterOverrideConfiguration overrideConfig)
PollsNeptuneGraphClient.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 WaiterResponse<GetPrivateGraphEndpointResponse> waitUntilPrivateGraphEndpointDeleted(Consumer<GetPrivateGraphEndpointRequest.Builder> getPrivateGraphEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNeptuneGraphClient.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
static NeptuneGraphWaiter.Builder builder()
Create a builder that can be used to configure and create aNeptuneGraphWaiter.- Returns:
- a builder
-
create
static NeptuneGraphWaiter create()
Create an instance ofNeptuneGraphWaiterwith the default configuration.A default
NeptuneGraphClientwill 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
NeptuneGraphWaiter
-
-