Package com.oracle.bmc.bds.model
Class UpstConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.bds.model.UpstConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class UpstConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information about the UPST configuration.
Note: Objects should always be created or deserialized using theUpstConfiguration.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 theUpstConfiguration.Builder
, which maintain a set of all explicitly set fields calledUpstConfiguration.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 class
UpstConfiguration.Builder
static class
UpstConfiguration.LifecycleState
Lifecycle state of the UPST config
-
Constructor Summary
Constructors Constructor Description UpstConfiguration(String vaultId, String masterEncryptionKeyId, String secretId, Date timeTokenExchangeKeytabLastRefreshed, String tokenExchangePrincipalName, UpstConfiguration.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, String keytabContent)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpstConfiguration.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getKeytabContent()
The kerberos keytab content used for creating identity propagation trust config, in base64 formatUpstConfiguration.LifecycleState
getLifecycleState()
Lifecycle state of the UPST configString
getMasterEncryptionKeyId()
Master Encryption key used for encrypting token exchange keytab.String
getSecretId()
Secret ID for token exchange keytabDate
getTimeCreated()
Time when this UPST config was created, shown as an RFC 3339 formatted datetime string.Date
getTimeTokenExchangeKeytabLastRefreshed()
Time when the keytab for token exchange principal is last refreshed, shown as an RFC 3339 formatted datetime string.Date
getTimeUpdated()
Time when this UPST config was updated, shown as an RFC 3339 formatted datetime string.String
getTokenExchangePrincipalName()
Token exchange kerberos Principal name in clusterString
getVaultId()
The instance OCID of the node, which is the resource from which the node backup was acquired.int
hashCode()
UpstConfiguration.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpstConfiguration
@Deprecated @ConstructorProperties({"vaultId","masterEncryptionKeyId","secretId","timeTokenExchangeKeytabLastRefreshed","tokenExchangePrincipalName","lifecycleState","timeCreated","timeUpdated","keytabContent"}) public UpstConfiguration(String vaultId, String masterEncryptionKeyId, String secretId, Date timeTokenExchangeKeytabLastRefreshed, String tokenExchangePrincipalName, UpstConfiguration.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, String keytabContent)
Deprecated.
-
-
Method Detail
-
builder
public static UpstConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public UpstConfiguration.Builder toBuilder()
-
getVaultId
public String getVaultId()
The instance OCID of the node, which is the resource from which the node backup was acquired.- Returns:
- the value
-
getMasterEncryptionKeyId
public String getMasterEncryptionKeyId()
Master Encryption key used for encrypting token exchange keytab.- Returns:
- the value
-
getSecretId
public String getSecretId()
Secret ID for token exchange keytab- Returns:
- the value
-
getTimeTokenExchangeKeytabLastRefreshed
public Date getTimeTokenExchangeKeytabLastRefreshed()
Time when the keytab for token exchange principal is last refreshed, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
-
getTokenExchangePrincipalName
public String getTokenExchangePrincipalName()
Token exchange kerberos Principal name in cluster- Returns:
- the value
-
getLifecycleState
public UpstConfiguration.LifecycleState getLifecycleState()
Lifecycle state of the UPST config- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Time when this UPST config was created, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Time when this UPST config was updated, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
-
getKeytabContent
public String getKeytabContent()
The kerberos keytab content used for creating identity propagation trust config, in base64 format- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-