Package com.oracle.bmc.apigateway.model
Class RemoteJsonWebKeySet.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.RemoteJsonWebKeySet.Builder
-
- Enclosing class:
- RemoteJsonWebKeySet
public static class RemoteJsonWebKeySet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteJsonWebKeySetbuild()RemoteJsonWebKeySet.Buildercopy(RemoteJsonWebKeySet model)RemoteJsonWebKeySet.BuilderisSslVerifyDisabled(Boolean isSslVerifyDisabled)Defines whether or not to uphold SSL verification.RemoteJsonWebKeySet.BuildermaxCacheDurationInHours(Integer maxCacheDurationInHours)The duration for which the JWKS should be cached before it is fetched again.RemoteJsonWebKeySet.Builderuri(String uri)The uri from which to retrieve the key.
-
-
-
Method Detail
-
uri
public RemoteJsonWebKeySet.Builder uri(String uri)
The uri from which to retrieve the key.It must be accessible without authentication.
- Parameters:
uri- the value to set- Returns:
- this builder
-
isSslVerifyDisabled
public RemoteJsonWebKeySet.Builder isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.- Parameters:
isSslVerifyDisabled- the value to set- Returns:
- this builder
-
maxCacheDurationInHours
public RemoteJsonWebKeySet.Builder maxCacheDurationInHours(Integer maxCacheDurationInHours)
The duration for which the JWKS should be cached before it is fetched again.- Parameters:
maxCacheDurationInHours- the value to set- Returns:
- this builder
-
build
public RemoteJsonWebKeySet build()
-
copy
public RemoteJsonWebKeySet.Builder copy(RemoteJsonWebKeySet model)
-
-