| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Option.Builder |
addDependecy(String key)
Adds a key dependency to the option.
|
Option |
build()
Builds a new instance of
Option with all provided values. |
Option.Builder |
description(String description)
Sets the description of the option.
|
Option.Builder |
isPartnerRequired(boolean isPartnerRequired)
Sets if the option is required in
SteamHost.PARTNER mode. |
Option.Builder |
isRequired(boolean isRequired)
Sets if the option is required.
|
Option.Builder |
key(String key)
Sets the key of the option.
|
Option.Builder |
optionType(OptionType optionType)
Sets the key of the option.
|
public Option.Builder key(String key)
Sets the key of the option.
key - The key of the option.public Option.Builder addDependecy(String key)
Adds a key dependency to the option.
key - They key of the option dependency.public Option.Builder description(String description)
Sets the description of the option.
description - The description of the option.public Option.Builder optionType(OptionType optionType)
Sets the key of the option.
optionType - The optionType of the option.public Option.Builder isRequired(boolean isRequired)
Sets if the option is required.
isRequired - If the option is required or not.public Option.Builder isPartnerRequired(boolean isPartnerRequired)
Sets if the option is required in SteamHost.PARTNER mode.
isPartnerRequired - If the option is required in PARTNER mode.Copyright © 2017. All rights reserved.