Class OciCredential
java.lang.Object
co.yellowdog.platform.account.credentials.OciCredential
- All Implemented Interfaces:
Credential
,Serializable
@JsonClassDescription("Oracle Cloud Infrastructure (OCI) credential")
public final class OciCredential
extends Object
implements Credential
Holds the properties that form a set of credentials for Oracle Cloud Infrastructure (OCI).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new OciCredential that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic OciCredential.Builder
builder()
boolean
The OCI public key fingerprint.getName()
Returns the name assigned to the Credential to identify it to the ComputeServiceClient.The OCI private key passphrase.The OCI private key.The OCI tenant ID (ocid).The OCI User ID (ocid).int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.yellowdog.platform.account.credentials.Credential
getExpiryTime
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilder
in interfaceCredential
-
getName
Description copied from interface:Credential
Returns the name assigned to the Credential to identify it to the ComputeServiceClient.- Specified by:
getName
in interfaceCredential
- Returns:
- the name assigned to the Credential
-
getDescription
- Specified by:
getDescription
in interfaceCredential
-
getUserId
-
getTenantId
-
getFingerprint
The OCI public key fingerprint.- Returns:
- the OCI public key fingerprint
-
getPrivateKey
-
getPassphrase
The OCI private key passphrase.- Returns:
- the OCI private key passphrase
-
equals
-
hashCode
-
toString
-