@Generated(value="software.amazon.awssdk:codegen") public interface CloudWatchAsyncWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
CloudWatchAsyncWaiter.Builder |
closedefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition AlarmExists is met, or
until it is determined that the resource will never enter into the desired statedescribeAlarmsRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition AlarmExists 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 DescribeAlarmsRequest.builder()
describeAlarmsRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest, WaiterOverrideConfiguration overrideConfig)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition AlarmExists is met, or
until it is determined that the resource will never enter into the desired statedescribeAlarmsRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition AlarmExists 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
describeAlarmsRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilCompositeAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition CompositeAlarmExists
is met, or until it is determined that the resource will never enter into the desired statedescribeAlarmsRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilCompositeAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition CompositeAlarmExists
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 DescribeAlarmsRequest.builder()
describeAlarmsRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilCompositeAlarmExists(DescribeAlarmsRequest describeAlarmsRequest, WaiterOverrideConfiguration overrideConfig)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition CompositeAlarmExists
is met, or until it is determined that the resource will never enter into the desired statedescribeAlarmsRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<DescribeAlarmsResponse>> waitUntilCompositeAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudWatchAsyncClient.describeAlarms(software.amazon.awssdk.services.cloudwatch.model.DescribeAlarmsRequest) API until the desired condition CompositeAlarmExists
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
describeAlarmsRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic CloudWatchAsyncWaiter.Builder builder()
CloudWatchAsyncWaiter.static CloudWatchAsyncWaiter create()
CloudWatchAsyncWaiter with the default configuration.
A default CloudWatchAsyncClient 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, invoke
SdkAutoCloseable.close() to release the resources once the waiter is not needed.
CloudWatchAsyncWaiterCopyright © 2021. All rights reserved.