public static interface LexModelsV2Waiter.Builder
| Modifier and Type | Method and Description |
|---|---|
LexModelsV2Waiter |
build()
Builds an instance of
LexModelsV2Waiter based on the configurations supplied to this builder |
LexModelsV2Waiter.Builder |
client(LexModelsV2Client client)
Sets a custom
LexModelsV2Client that will be used to poll the resource |
default LexModelsV2Waiter.Builder |
overrideConfiguration(Consumer<WaiterOverrideConfiguration.Builder> overrideConfiguration)
This is a convenient method to pass the override configuration without the need to create an instance
manually via
WaiterOverrideConfiguration.builder() |
LexModelsV2Waiter.Builder |
overrideConfiguration(WaiterOverrideConfiguration overrideConfiguration)
Defines overrides to the default SDK waiter configuration that should be used for waiters created from this
builder
|
LexModelsV2Waiter.Builder overrideConfiguration(WaiterOverrideConfiguration overrideConfiguration)
overrideConfiguration - the override configuration to setdefault LexModelsV2Waiter.Builder overrideConfiguration(Consumer<WaiterOverrideConfiguration.Builder> overrideConfiguration)
WaiterOverrideConfiguration.builder()overrideConfiguration - The consumer that will configure the overrideConfigurationoverrideConfiguration(WaiterOverrideConfiguration)LexModelsV2Waiter.Builder client(LexModelsV2Client client)
LexModelsV2Client that will be used to poll the resource
This SDK client must be closed by the caller when it is ready to be disposed. The SDK will not close the client when the waiter is closed
client - the client to send the requestLexModelsV2Waiter build()
LexModelsV2Waiter based on the configurations supplied to this builderLexModelsV2WaiterCopyright © 2022. All rights reserved.