public static class MindsphereAPIClient.Builder<T extends MindsphereAPIClient.Builder<T>>
extends Object
Modifier and Type | Field and Description |
---|---|
protected MindsphereCredentials |
credentials |
protected RestClientConfig |
restClientConfig |
protected RestTemplate |
restTemplate |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MindsphereAPIClient |
build() |
T |
mindsphereCredentials(MindsphereCredentials credentials) |
T |
restClientConfig(RestClientConfig restClientConfig) |
T |
restTemplate(RestTemplate restTemplate) |
protected RestClientConfig restClientConfig
protected MindsphereCredentials credentials
protected RestTemplate restTemplate
public T restClientConfig(RestClientConfig restClientConfig)
public T mindsphereCredentials(MindsphereCredentials credentials)
public T restTemplate(RestTemplate restTemplate)
public MindsphereAPIClient build()