public final class SphereAuthConfigBuilder extends Base implements Builder<SphereAuthConfig>
Modifier and Type | Method and Description |
---|---|
SphereAuthConfigBuilder |
authUrl(String authUrl) |
SphereAuthConfig |
build()
Creates a new instance of T with the values of this builder.
|
static SphereAuthConfigBuilder |
ofAuthConfig(SphereAuthConfig template) |
static SphereAuthConfigBuilder |
ofKeyIdSecret(String projectKey,
String clientId,
String clientSecret) |
SphereAuthConfigBuilder |
scopes(List<SphereScope> scopes) |
SphereAuthConfigBuilder |
scopeStrings(List<String> scopes) |
public static SphereAuthConfigBuilder ofKeyIdSecret(String projectKey, String clientId, String clientSecret)
public static SphereAuthConfigBuilder ofAuthConfig(SphereAuthConfig template)
public SphereAuthConfigBuilder authUrl(String authUrl)
public SphereAuthConfigBuilder scopes(List<SphereScope> scopes)
public SphereAuthConfigBuilder scopeStrings(List<String> scopes)
public SphereAuthConfig build()
Builder
build
in interface Builder<SphereAuthConfig>