Class OauthMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.OauthMetadata.Builder
-
- Enclosing class:
- OauthMetadata
public static class OauthMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OauthMetadatabuild()OauthMetadata.BuilderclientAppId(String clientAppId)ID of the client app created in IDP.OauthMetadata.BuilderclientAppSecret(String clientAppSecret)Secret of the client app created in IDP.OauthMetadata.Buildercopy(OauthMetadata model)OauthMetadata.BuilderidcsAccountNameUrl(String idcsAccountNameUrl)Base URL of the IDCS account where confidential client app is created.
-
-
-
Method Detail
-
idcsAccountNameUrl
public OauthMetadata.Builder idcsAccountNameUrl(String idcsAccountNameUrl)
Base URL of the IDCS account where confidential client app is created.- Parameters:
idcsAccountNameUrl- the value to set- Returns:
- this builder
-
clientAppId
public OauthMetadata.Builder clientAppId(String clientAppId)
ID of the client app created in IDP.- Parameters:
clientAppId- the value to set- Returns:
- this builder
-
clientAppSecret
public OauthMetadata.Builder clientAppSecret(String clientAppSecret)
Secret of the client app created in IDP.- Parameters:
clientAppSecret- the value to set- Returns:
- this builder
-
build
public OauthMetadata build()
-
copy
public OauthMetadata.Builder copy(OauthMetadata model)
-
-