@Generated(value="software.amazon.awssdk:codegen") public interface CloudWatchWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
CloudWatchWaiter.Builder |
closedefault WaiterResponse<DescribeAlarmsResponse> waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest, WaiterOverrideConfiguration overrideConfig)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilCompositeAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilCompositeAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilCompositeAlarmExists(DescribeAlarmsRequest describeAlarmsRequest, WaiterOverrideConfiguration overrideConfig)
CloudWatchClient.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 WaiterResponse<DescribeAlarmsResponse> waitUntilCompositeAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudWatchClient.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 CloudWatchWaiter.Builder builder()
CloudWatchWaiter.static CloudWatchWaiter create()
CloudWatchWaiter with the default configuration.
A default CloudWatchClient 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.
CloudWatchWaiterCopyright © 2023. All rights reserved.