Package com.oracle.bmc.psql.model
Class KerberosCredential
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.psql.model.KerberosCredential
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public final class KerberosCredential extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelKerberos Credential details as OCI Vault Secret for the keytab.
Note: Objects should always be created or deserialized using theKerberosCredential.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theKerberosCredential.Builder, which maintain a set of all explicitly set fields calledKerberosCredential.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKerberosCredential.Builder
-
Constructor Summary
Constructors Constructor Description KerberosCredential(String realmName, String keytabSecretId, Long keytabSecretVersion)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KerberosCredential.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetKeytabSecretId()The OCID of the secret where the Kerberos keytab file is stored as base64 text.LonggetKeytabSecretVersion()The secret version of the stored Kerberos keytab file.StringgetRealmName()Kerberos realm name.inthashCode()KerberosCredential.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
KerberosCredential
@Deprecated @ConstructorProperties({"realmName","keytabSecretId","keytabSecretVersion"}) public KerberosCredential(String realmName, String keytabSecretId, Long keytabSecretVersion)
Deprecated.
-
-
Method Detail
-
builder
public static KerberosCredential.Builder builder()
Create a new builder.
-
toBuilder
public KerberosCredential.Builder toBuilder()
-
getRealmName
public String getRealmName()
Kerberos realm name.https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
- Returns:
- the value
-
getKeytabSecretId
public String getKeytabSecretId()
The OCID of the secret where the Kerberos keytab file is stored as base64 text.- Returns:
- the value
-
getKeytabSecretVersion
public Long getKeytabSecretVersion()
The secret version of the stored Kerberos keytab file.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-