Class CreateMachineUserAccessKeyRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:51.953-07:00")
    public class CreateMachineUserAccessKeyRequest
    extends Object
    Request object for a create machine user access key request.
    • Constructor Detail

      • CreateMachineUserAccessKeyRequest

        public CreateMachineUserAccessKeyRequest()
    • Method Detail

      • getMachineUserName

        public String getMachineUserName()
        Getter for machineUserName. The name or CRN of the machine user to whom this access key will be associated.
      • setMachineUserName

        public void setMachineUserName​(String machineUserName)
        Setter for machineUserName. The name or CRN of the machine user to whom this access key will be associated.
      • getType

        public String getType()
        Getter for type. The version of an access key to create. Default is V2. Use V1 for compatibility with old CLI (< 1.6) and SDK (< 1.3) releases.
      • setType

        public void setType​(String type)
        Setter for type. The version of an access key to create. Default is V2. Use V1 for compatibility with old CLI (< 1.6) and SDK (< 1.3) releases.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object