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:
  • Method Details

    • builder

      public static OciCredential.Builder builder()
    • toBuilder

      public OciCredential.Builder toBuilder()
      Specified by:
      toBuilder in interface Credential
    • getName

      public String getName()
      Description copied from interface: Credential
      Returns the name assigned to the Credential to identify it to the ComputeServiceClient.
      Specified by:
      getName in interface Credential
      Returns:
      the name assigned to the Credential
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Credential
    • getUserId

      public String getUserId()
      The OCI User ID (ocid).
      Returns:
      the OCI User ID
    • getTenantId

      public String getTenantId()
      The OCI tenant ID (ocid).
      Returns:
      the OCI tenant ID
    • getFingerprint

      public String getFingerprint()
      The OCI public key fingerprint.
      Returns:
      the OCI public key fingerprint
    • getPrivateKey

      public String getPrivateKey()
      The OCI private key.
      Returns:
      the OCI private key
    • getPassphrase

      public String getPassphrase()
      The OCI private key passphrase.
      Returns:
      the OCI private key passphrase
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object