Class CredentialRotationStatus.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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