public static class ConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConfigDetails |
build() |
ConfigDetails.Builder |
copy(ConfigDetails model) |
ConfigDetails.Builder |
description(String description)
Details about why this config is required and what it will be used for.
|
ConfigDetails.Builder |
isOptional(Boolean isOptional)
Is this a required config or an optional one.
|
ConfigDetails.Builder |
key(String key)
The key name of the config param.
|
public ConfigDetails.Builder key(String key)
The key name of the config param.
key
- the value to setpublic ConfigDetails.Builder description(String description)
Details about why this config is required and what it will be used for.
description
- the value to setpublic ConfigDetails.Builder isOptional(Boolean isOptional)
Is this a required config or an optional one. Requests with required config params missing will be rejected.
isOptional
- the value to setpublic ConfigDetails build()
public ConfigDetails.Builder copy(ConfigDetails model)
Copyright © 2016–2024. All rights reserved.