Class CredentialRotationStatus
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.containerengine.model.CredentialRotationStatus
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class CredentialRotationStatus extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information regarding cluster’s credential rotation.
Note: Objects should always be created or deserialized using theCredentialRotationStatus.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 theCredentialRotationStatus.Builder
, which maintain a set of all explicitly set fields calledCredentialRotationStatus.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
CredentialRotationStatus.Builder
static class
CredentialRotationStatus.Status
Credential rotation status of a kubernetes cluster IN_PROGRESS: Issuing new credentials to kubernetes cluster control plane and worker nodes or retiring old credentials from kubernetes cluster control plane and worker nodes.static class
CredentialRotationStatus.StatusDetails
Details of a kuberenetes cluster credential rotation status: ISSUING_NEW_CREDENTIALS: Credential rotation is in progress.
-
Constructor Summary
Constructors Constructor Description CredentialRotationStatus(Date timeAutoCompletionScheduled, CredentialRotationStatus.Status status, CredentialRotationStatus.StatusDetails statusDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialRotationStatus.Builder
builder()
Create a new builder.boolean
equals(Object o)
CredentialRotationStatus.Status
getStatus()
Credential rotation status of a kubernetes cluster IN_PROGRESS: Issuing new credentials to kubernetes cluster control plane and worker nodes or retiring old credentials from kubernetes cluster control plane and worker nodes.CredentialRotationStatus.StatusDetails
getStatusDetails()
Details of a kuberenetes cluster credential rotation status: ISSUING_NEW_CREDENTIALS: Credential rotation is in progress.Date
getTimeAutoCompletionScheduled()
The time by which retirement of old credentials should start.int
hashCode()
CredentialRotationStatus.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CredentialRotationStatus
@Deprecated @ConstructorProperties({"timeAutoCompletionScheduled","status","statusDetails"}) public CredentialRotationStatus(Date timeAutoCompletionScheduled, CredentialRotationStatus.Status status, CredentialRotationStatus.StatusDetails statusDetails)
Deprecated.
-
-
Method Detail
-
builder
public static CredentialRotationStatus.Builder builder()
Create a new builder.
-
toBuilder
public CredentialRotationStatus.Builder toBuilder()
-
getTimeAutoCompletionScheduled
public Date getTimeAutoCompletionScheduled()
The time by which retirement of old credentials should start.- Returns:
- the value
-
getStatus
public CredentialRotationStatus.Status getStatus()
Credential rotation status of a kubernetes cluster IN_PROGRESS: Issuing new credentials to kubernetes cluster control plane and worker nodes or retiring old credentials from kubernetes cluster control plane and worker nodes.WAITING: Waiting for customer to invoke the complete rotation action or the automcatic complete rotation action. COMPLETED: New credentials are functional on kuberentes cluster.
- Returns:
- the value
-
getStatusDetails
public CredentialRotationStatus.StatusDetails getStatusDetails()
Details of a kuberenetes cluster credential rotation status: ISSUING_NEW_CREDENTIALS: Credential rotation is in progress.Starting to issue new credentials to kubernetes cluster control plane and worker nodes. NEW_CREDENTIALS_ISSUED: New credentials are added. At this stage cluster has both old and new credentials and is awaiting old credentials retirement. RETIRING_OLD_CREDENTIALS: Retirement of old credentials is in progress. Starting to remove old credentials from kubernetes cluster control plane and worker nodes. COMPLETED: Credential rotation is complete. Old credentials are retired.
- 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
-
-