Package com.styra.opa.openapi.utils
Class Options.Builder
- java.lang.Object
-
- com.styra.opa.openapi.utils.Options.Builder
-
- Enclosing class:
- Options
public static final class Options.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Options
build()
Options.Builder
retryConfig(RetryConfig retryConfig)
Options.Builder
retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Method Detail
-
retryConfig
public Options.Builder retryConfig(RetryConfig retryConfig) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
retryConfig
public Options.Builder retryConfig(java.util.Optional<RetryConfig> retryConfig) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
build
public Options build()
-
-