Package com.cloudera.cdp.iam.model
Class MachineUser
- java.lang.Object
-
- com.cloudera.cdp.iam.model.MachineUser
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-12-01T13:59:42.174-08:00") public class MachineUser extends Object
Information about a Cloudera CDP machine user.
-
-
Constructor Summary
Constructors Constructor Description MachineUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ZonedDateTime
getCreationDate()
Getter for creationDate.String
getCrn()
Getter for crn.String
getMachineUserName()
Getter for machineUserName.String
getStatus()
Getter for status.WorkloadPasswordDetails
getWorkloadPasswordDetails()
Getter for workloadPasswordDetails.String
getWorkloadUsername()
Getter for workloadUsername.int
hashCode()
void
setCreationDate(ZonedDateTime creationDate)
Setter for creationDate.void
setCrn(String crn)
Setter for crn.void
setMachineUserName(String machineUserName)
Setter for machineUserName.void
setStatus(String status)
Setter for status.void
setWorkloadPasswordDetails(WorkloadPasswordDetails workloadPasswordDetails)
Setter for workloadPasswordDetails.void
setWorkloadUsername(String workloadUsername)
Setter for workloadUsername.String
toString()
-
-
-
Method Detail
-
getMachineUserName
public String getMachineUserName()
Getter for machineUserName. The machine user name.
-
setMachineUserName
public void setMachineUserName(String machineUserName)
Setter for machineUserName. The machine user name.
-
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.
-
getCreationDate
public ZonedDateTime getCreationDate()
Getter for creationDate. The date when this machine user record was created.
-
setCreationDate
public void setCreationDate(ZonedDateTime creationDate)
Setter for creationDate. The date when this machine user record was created.
-
getWorkloadUsername
public String getWorkloadUsername()
Getter for workloadUsername. The username used in all the workload clusters of the machine user.
-
setWorkloadUsername
public void setWorkloadUsername(String workloadUsername)
Setter for workloadUsername. The username used in all the workload clusters of the machine user.
-
getStatus
public String getStatus()
Getter for status. The current status of the machine user. The possible status values are ACTIVE and CONTROL_PLANE_LOCKED_OUT. ACTIVE indicates that the machine user is active in CDP. An active machine user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the machine user is locked out of the CDP control plane. The locked-out machine user can no longer authenticate to the control plane but can authenticate 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 machine user. The possible status values are ACTIVE and CONTROL_PLANE_LOCKED_OUT. ACTIVE indicates that the machine user is active in CDP. An active machine user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the machine user is locked out of the CDP control plane. The locked-out machine user can no longer authenticate to the control plane but can authenticate 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 machine user.
-
setWorkloadPasswordDetails
public void setWorkloadPasswordDetails(WorkloadPasswordDetails workloadPasswordDetails)
Setter for workloadPasswordDetails. Information about the workload password for the machine user.
-
-