Package com.oracle.bmc.apigateway.model
Class JsonWebKey.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.JsonWebKey.Builder
 
- 
- Enclosing class:
- JsonWebKey
 
 public static class JsonWebKey.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonWebKey.Builderalg(String alg)The algorithm intended for use with this key.JsonWebKeybuild()JsonWebKey.Buildercopy(JsonWebKey model)JsonWebKey.Buildere(String e)The base64 url encoded exponent of the RSA public key represented by this key.JsonWebKey.BuilderkeyOps(List<JsonWebKey.KeyOps> keyOps)The operations for which this key is to be used.JsonWebKey.Builderkid(String kid)JsonWebKey.Builderkty(JsonWebKey.Kty kty)The key type.JsonWebKey.Buildern(String n)The base64 url encoded modulus of the RSA public key represented by this key.JsonWebKey.Builderuse(JsonWebKey.Use use)The intended use of the public key.
 
- 
- 
- 
Method Detail- 
kidpublic JsonWebKey.Builder kid(String kid) 
 - 
ktypublic JsonWebKey.Builder kty(JsonWebKey.Kty kty) The key type.- Parameters:
- kty- the value to set
- Returns:
- this builder
 
 - 
usepublic JsonWebKey.Builder use(JsonWebKey.Use use) The intended use of the public key.- Parameters:
- use- the value to set
- Returns:
- this builder
 
 - 
keyOpspublic JsonWebKey.Builder keyOps(List<JsonWebKey.KeyOps> keyOps) The operations for which this key is to be used.- Parameters:
- keyOps- the value to set
- Returns:
- this builder
 
 - 
algpublic JsonWebKey.Builder alg(String alg) The algorithm intended for use with this key.- Parameters:
- alg- the value to set
- Returns:
- this builder
 
 - 
npublic JsonWebKey.Builder n(String n) The base64 url encoded modulus of the RSA public key represented by this key.- Parameters:
- n- the value to set
- Returns:
- this builder
 
 - 
epublic JsonWebKey.Builder e(String e) The base64 url encoded exponent of the RSA public key represented by this key.- Parameters:
- e- the value to set
- Returns:
- this builder
 
 - 
buildpublic JsonWebKey build() 
 - 
copypublic JsonWebKey.Builder copy(JsonWebKey model) 
 
- 
 
-