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