public static class SteamMethodVersion.Builder extends Object
A builder pattern class to buildRequest easier SteamMethodVersion.
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SteamMethodVersion.Builder |
add(Option option)
Adds the provided Option.
|
SteamMethodVersion |
build()
Builds a new instance of
SteamMethodVersion with all added options. |
SteamMethodVersion.Builder |
hosts(SteamHost... hosts)
The host the SteamMethodVersion belong to.
|
SteamMethodVersion.Builder |
method(SteamHTTPMethod method)
The supported HTTP request method.
|
SteamMethodVersion.Builder |
version(SteamVersion version)
The version the SteamMethodVersion belong to.
|
SteamMethodVersion.Builder |
visibility(SteamVisibility visibility)
The visibility of the method.
|
public SteamMethodVersion.Builder method(SteamHTTPMethod method)
The supported HTTP request method.
method - The request method.public SteamMethodVersion.Builder hosts(SteamHost... hosts)
The host the SteamMethodVersion belong to.
hosts - An array of supported hosts.public SteamMethodVersion.Builder version(SteamVersion version)
The version the SteamMethodVersion belong to.
version - The option.public SteamMethodVersion.Builder visibility(SteamVisibility visibility)
The visibility of the method.
visibility - The visibility.public SteamMethodVersion.Builder add(Option option)
Adds the provided Option.
option - The option to add.public SteamMethodVersion build()
Builds a new instance of SteamMethodVersion with all added options.
Copyright © 2017. All rights reserved.