public static final class LocalActivityOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Builder(LocalActivityOptions options)
Copy Builder fields from the options.
|
Modifier and Type | Method and Description |
---|---|
LocalActivityOptions |
build() |
LocalActivityOptions.Builder |
setRetryOptions(RetryOptions retryOptions)
RetryOptions that define how activity is retried in case of failure.
|
LocalActivityOptions.Builder |
setScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
Overall timeout workflow is willing to wait for activity to complete.
|
LocalActivityOptions |
validateAndBuildWithDefaults() |
public Builder()
public Builder(LocalActivityOptions options)
public LocalActivityOptions.Builder setScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
public LocalActivityOptions.Builder setRetryOptions(RetryOptions retryOptions)
public LocalActivityOptions build()
public LocalActivityOptions validateAndBuildWithDefaults()