public class LroOptions extends Object
This class provides configuration options for long-running operations, such as timeouts and other behavioral settings.
| Modifier and Type | Class and Description |
|---|---|
static class |
LroOptions.Builder
Builder for LroOptions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<Duration> |
getTimeout()
Gets the timeout for the operation.
|
int |
hashCode() |
static LroOptions.Builder |
newBuilder()
Creates a new builder for LroOptions.
|
String |
toString() |
static LroOptions |
withTimeout(Duration timeout)
Creates LroOptions with the specified timeout.
|
public Optional<Duration> getTimeout()
public static LroOptions.Builder newBuilder()
public static LroOptions withTimeout(Duration timeout)
timeout - the maximum duration to wait for operation completionCopyright © 2026. All rights reserved.