Class CreateUserAccessKeyRequest


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

      • CreateUserAccessKeyRequest

        public CreateUserAccessKeyRequest()
    • Method Detail

      • getUser

        public String getUser()
        Getter for user. The ID or CRN of the user to whom this access key will be associated. If it is not included, it defaults to the user making the request.
      • setUser

        public void setUser​(String user)
        Setter for user. The ID or CRN of the user to whom this access key will be associated. If it is not included, it defaults to the user making the request.
      • 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