@Generated(value="software.amazon.awssdk:codegen") public interface CloudWatchWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
CloudWatchWaiter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CloudWatchWaiter.Builder |
builder()
Create a builder that can be used to configure and create a
CloudWatchWaiter. |
static CloudWatchWaiter |
create()
Create an instance of
CloudWatchWaiter with the default configuration. |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest)
Polls
CloudWatchClient.describeAlarms() API until the desired condition AlarmExists is met, or
until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
CloudWatchClient.describeAlarms() API until the desired condition AlarmExists is met, or
until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
Polls
CloudWatchClient.describeAlarms() API until the desired condition AlarmExists is met, or
until it is determined that the resource will never enter into the desired state |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
CloudWatchClient.describeAlarms() API until the desired condition AlarmExists is met, or
until it is determined that the resource will never enter into the desired state |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilCompositeAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest)
Polls
CloudWatchClient.describeAlarms() API until the desired condition CompositeAlarmExists is
met, or until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilCompositeAlarmExists(Consumer<DescribeAlarmsRequest.Builder> describeAlarmsRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
CloudWatchClient.describeAlarms() API until the desired condition CompositeAlarmExists is
met, or until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilCompositeAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
Polls
CloudWatchClient.describeAlarms() API until the desired condition CompositeAlarmExists is
met, or until it is determined that the resource will never enter into the desired state |
default WaiterResponse<DescribeAlarmsResponse> |
waitUntilCompositeAlarmExists(DescribeAlarmsRequest describeAlarmsRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
CloudWatchClient.describeAlarms() API until the desired condition CompositeAlarmExists is
met, or until it is determined that the resource will never enter into the desired state |
closedefault WaiterResponse<DescribeAlarmsResponse> waitUntilAlarmExists(DescribeAlarmsRequest describeAlarmsRequest)
CloudWatchClient.describeAlarms() 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() 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() 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() 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() 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() 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() 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() 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 © 2021. All rights reserved.