Class User

java.lang.Object
com.cloudera.cdp.iam.model.User

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-07:00") public class User extends Object
Information about a Cloudera CDP user.
  • Constructor Details

    • User

      public User()
  • Method Details

    • getUserId

      public String getUserId()
      Getter for userId. The stable, unique identifier of the user.
    • setUserId

      public void setUserId(String userId)
      Setter for userId. The stable, unique identifier of the user.
    • getCrn

      public String getCrn()
      Getter for crn. The CRN of the user.
    • setCrn

      public void setCrn(String crn)
      Setter for crn. The CRN of the user.
    • getEmail

      public String getEmail()
      Getter for email. The user's email address.
    • setEmail

      public void setEmail(String email)
      Setter for email. The user's email address.
    • getFirstName

      public String getFirstName()
      Getter for firstName. The user's first name.
    • setFirstName

      public void setFirstName(String firstName)
      Setter for firstName. The user's first name.
    • getLastName

      public String getLastName()
      Getter for lastName. The user's last name.
    • setLastName

      public void setLastName(String lastName)
      Setter for lastName. The user's last name.
    • getCreationDate

      public ZonedDateTime getCreationDate()
      Getter for creationDate. The date when this user record was created.
    • setCreationDate

      public void setCreationDate(ZonedDateTime creationDate)
      Setter for creationDate. The date when this user record was created.
    • getAccountAdmin

      public Boolean getAccountAdmin()
      Getter for accountAdmin. Whether the user is an administrator of their CDP account.
    • setAccountAdmin

      public void setAccountAdmin(Boolean accountAdmin)
      Setter for accountAdmin. Whether the user is an administrator of their CDP account.
    • getIdentityProviderCrn

      public String getIdentityProviderCrn()
      Getter for identityProviderCrn. The identity provider that the user belongs to. It can be \"Cloudera-Default\", \"Cloudera-Administration\", or a customer defined IdP.
    • setIdentityProviderCrn

      public void setIdentityProviderCrn(String identityProviderCrn)
      Setter for identityProviderCrn. The identity provider that the user belongs to. It can be \"Cloudera-Default\", \"Cloudera-Administration\", or a customer defined IdP.
    • getLastInteractiveLogin

      public ZonedDateTime getLastInteractiveLogin()
      Getter for lastInteractiveLogin. The date of the user's last interactive login.
    • setLastInteractiveLogin

      public void setLastInteractiveLogin(ZonedDateTime lastInteractiveLogin)
      Setter for lastInteractiveLogin. The date of the user's last interactive login.
    • getWorkloadUsername

      public String getWorkloadUsername()
      Getter for workloadUsername. The username used in all the workload clusters of the user.
    • setWorkloadUsername

      public void setWorkloadUsername(String workloadUsername)
      Setter for workloadUsername. The username used in all the workload clusters of the user.
    • getStatus

      public String getStatus()
      Getter for status. The current status of the user. The possible status values are ACTIVE, CONTROL_PLANE_LOCKED_OUT, and DEACTIVATED. ACTIVE indicates that the user is active in CDP. An active user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the user is locked out of the CDP control plane. The locked-out user can no longer authenticate to the control plane but can authenticate to the workload clusters. DEACTIVATED indicates that the user is deactivated in CDP. A deactivated user can neither authenticate to the control plane nor to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government.
    • setStatus

      public void setStatus(String status)
      Setter for status. The current status of the user. The possible status values are ACTIVE, CONTROL_PLANE_LOCKED_OUT, and DEACTIVATED. ACTIVE indicates that the user is active in CDP. An active user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the user is locked out of the CDP control plane. The locked-out user can no longer authenticate to the control plane but can authenticate to the workload clusters. DEACTIVATED indicates that the user is deactivated in CDP. A deactivated user can neither authenticate to the control plane nor to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government.
    • getWorkloadPasswordDetails

      public WorkloadPasswordDetails getWorkloadPasswordDetails()
      Getter for workloadPasswordDetails. Information about the workload password for the user.
    • setWorkloadPasswordDetails

      public void setWorkloadPasswordDetails(WorkloadPasswordDetails workloadPasswordDetails)
      Setter for workloadPasswordDetails. Information about the workload password for the user.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object