Class CreateAwsCredentialRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:49.412-07:00")
    public class CreateAwsCredentialRequest
    extends Object
    Request object for creating AWS IAM or Access & Secret Key cloud credentials.
    • Constructor Detail

      • CreateAwsCredentialRequest

        public CreateAwsCredentialRequest()
    • Method Detail

      • getName

        public String getName()
        Getter for name. Name of the credential.
      • setName

        public void setName​(String name)
        Setter for name. Name of the credential.
      • getClusters

        public List<String> getClusters()
        Getter for clusters. List of cluster CRNs where the credential should be created.
      • setClusters

        public void setClusters​(List<String> clusters)
        Setter for clusters. List of cluster CRNs where the credential should be created.
      • getType

        public String getType()
        Getter for type. Type of the credential. Additional required parameters by type: IAM: none; ACCESSKEY: accessKey, secretKey. Superfluous parameters are ignored. Providing IAM will create an IAM Role-based Authentication account in Cloudera Manager. Providing ACCESSKEY will create an AWS Access Key Authentication account in Cloudera Manager.
      • setType

        public void setType​(String type)
        Setter for type. Type of the credential. Additional required parameters by type: IAM: none; ACCESSKEY: accessKey, secretKey. Superfluous parameters are ignored. Providing IAM will create an IAM Role-based Authentication account in Cloudera Manager. Providing ACCESSKEY will create an AWS Access Key Authentication account in Cloudera Manager.
      • getAccessKey

        public String getAccessKey()
        Getter for accessKey. AWS access key.
      • setAccessKey

        public void setAccessKey​(String accessKey)
        Setter for accessKey. AWS access key.
      • getSecretKey

        public String getSecretKey()
        Getter for secretKey. AWS secret key.
      • setSecretKey

        public void setSecretKey​(String secretKey)
        Setter for secretKey. AWS secret key.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object