Class CredentialRotationStatus.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.CredentialRotationStatus.Builder
-
- Enclosing class:
- CredentialRotationStatus
public static class CredentialRotationStatus.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialRotationStatus
build()
CredentialRotationStatus.Builder
copy(CredentialRotationStatus model)
CredentialRotationStatus.Builder
status(CredentialRotationStatus.Status 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.CredentialRotationStatus.Builder
statusDetails(CredentialRotationStatus.StatusDetails statusDetails)
Details of a kuberenetes cluster credential rotation status: ISSUING_NEW_CREDENTIALS: Credential rotation is in progress.CredentialRotationStatus.Builder
timeAutoCompletionScheduled(Date timeAutoCompletionScheduled)
The time by which retirement of old credentials should start.
-
-
-
Method Detail
-
timeAutoCompletionScheduled
public CredentialRotationStatus.Builder timeAutoCompletionScheduled(Date timeAutoCompletionScheduled)
The time by which retirement of old credentials should start.- Parameters:
timeAutoCompletionScheduled
- the value to set- Returns:
- this builder
-
status
public CredentialRotationStatus.Builder status(CredentialRotationStatus.Status 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.WAITING: Waiting for customer to invoke the complete rotation action or the automcatic complete rotation action. COMPLETED: New credentials are functional on kuberentes cluster.
- Parameters:
status
- the value to set- Returns:
- this builder
-
statusDetails
public CredentialRotationStatus.Builder statusDetails(CredentialRotationStatus.StatusDetails statusDetails)
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.
- Parameters:
statusDetails
- the value to set- Returns:
- this builder
-
build
public CredentialRotationStatus build()
-
copy
public CredentialRotationStatus.Builder copy(CredentialRotationStatus model)
-
-