@Stability(value=Experimental) public static final class GetContextValueOptions.Builder extends Object
GetContextValueOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GetContextValueOptions |
build()
Builds the configured instance.
|
GetContextValueOptions.Builder |
withDummyValue(Object value)
Sets the value of DummyValue
|
GetContextValueOptions.Builder |
withProps(Map<String,Object> value)
Sets the value of Props
|
GetContextValueOptions.Builder |
withProvider(String value)
Sets the value of Provider
|
@Stability(value=Experimental) public GetContextValueOptions.Builder withDummyValue(Object value)
value - The value to return if the context value was not found and a missing context is reported.this@Stability(value=Experimental) public GetContextValueOptions.Builder withProvider(String value)
value - The context provider to query.this@Stability(value=Experimental) public GetContextValueOptions.Builder withProps(@Nullable Map<String,Object> value)
value - Provider-specific properties.this@Stability(value=Experimental) public GetContextValueOptions build()
GetContextValueOptionsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.