Module io.helidon.integrations.oci
Package io.helidon.integrations.oci
Class SessionTokenMethodConfig.BuilderBase.SessionTokenMethodConfigImpl
java.lang.Object
io.helidon.integrations.oci.SessionTokenMethodConfig.BuilderBase.SessionTokenMethodConfigImpl
- All Implemented Interfaces:
Prototype.Api,SessionTokenMethodConfig
- Enclosing class:
SessionTokenMethodConfig.BuilderBase<BUILDER extends SessionTokenMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SessionTokenMethodConfig>
protected static class SessionTokenMethodConfig.BuilderBase.SessionTokenMethodConfigImpl
extends Object
implements SessionTokenMethodConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.oci.SessionTokenMethodConfig
SessionTokenMethodConfig.Builder, SessionTokenMethodConfig.BuilderBase<BUILDER extends SessionTokenMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SessionTokenMethodConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe OCI authentication fingerprint.inthashCode()Delay of the first refresh.Optional<char[]> The OCI authentication passphrase.The OCI authentication private key resource.Refresh period, i.e.region()The OCI region.Customize the scheduled executor service to use for scheduling.Maximal lifetime of a session.Session token value.Session token path.tenantId()The OCI tenant id.toString()userId()The OCI user id.
-
Constructor Details
-
SessionTokenMethodConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
region
Description copied from interface:SessionTokenMethodConfigThe OCI region.- Specified by:
regionin interfaceSessionTokenMethodConfig- Returns:
- the OCI region
-
fingerprint
Description copied from interface:SessionTokenMethodConfigThe OCI authentication fingerprint.This configuration property must be provided in order to set the API signing key's fingerprint. See
SimpleAuthenticationDetailsProvider.getFingerprint()for more details.- Specified by:
fingerprintin interfaceSessionTokenMethodConfig- Returns:
- the OCI authentication fingerprint
-
passphrase
Description copied from interface:SessionTokenMethodConfigThe OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Specified by:
passphrasein interfaceSessionTokenMethodConfig- Returns:
- the OCI authentication passphrase
-
tenantId
Description copied from interface:SessionTokenMethodConfigThe OCI tenant id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().
- Specified by:
tenantIdin interfaceSessionTokenMethodConfig- Returns:
- the OCI tenant id
-
userId
Description copied from interface:SessionTokenMethodConfigThe OCI user id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().
- Specified by:
userIdin interfaceSessionTokenMethodConfig- Returns:
- the OCI user id
-
privateKeyPath
Description copied from interface:SessionTokenMethodConfigThe OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
".oci/sessions/DEFAULT/oci_api_key.pemfile in user home directory.- Specified by:
privateKeyPathin interfaceSessionTokenMethodConfig- Returns:
- the OCI authentication key file
-
sessionTokenPath
Description copied from interface:SessionTokenMethodConfigSession token path. If both this value, andSessionTokenMethodConfig.sessionToken()is defined, the value ofSessionTokenMethodConfig.sessionToken()is used.- Specified by:
sessionTokenPathin interfaceSessionTokenMethodConfig- Returns:
- session token path
-
sessionToken
Description copied from interface:SessionTokenMethodConfigSession token value. If both this value, andSessionTokenMethodConfig.sessionTokenPath()is defined, this value is used.- Specified by:
sessionTokenin interfaceSessionTokenMethodConfig- Returns:
- session token
-
initialRefreshDelay
Description copied from interface:SessionTokenMethodConfigDelay of the first refresh. Defaults to 0, to refresh immediately (implemented in the authentication details provider).- Specified by:
initialRefreshDelayin interfaceSessionTokenMethodConfig- Returns:
- initial refresh delay
- See Also:
-
refreshPeriod
Description copied from interface:SessionTokenMethodConfigRefresh period, i.e. how often refresh occurs. Defaults to 55 minutes (implemented in the authentication details provider).- Specified by:
refreshPeriodin interfaceSessionTokenMethodConfig- Returns:
- refresh period
- See Also:
-
sessionLifetimeHours
Description copied from interface:SessionTokenMethodConfigMaximal lifetime of a session. Defaults to (and maximum is) 24 hours. Can only be set to a lower value.- Specified by:
sessionLifetimeHoursin interfaceSessionTokenMethodConfig- Returns:
- lifetime of a session in hours
-
scheduler
Description copied from interface:SessionTokenMethodConfigCustomize the scheduled executor service to use for scheduling. Defaults to a single thread executor service.- Specified by:
schedulerin interfaceSessionTokenMethodConfig- Returns:
- scheduled executor service
-
toString
-
equals
-
hashCode
public int hashCode()
-