Class CreateAwsCredentialRequest

java.lang.Object
com.cloudera.cdp.replicationmanager.model.CreateAwsCredentialRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:29.297-07:00") public class CreateAwsCredentialRequest extends Object
Request object for creating AWS IAM or Access & Secret Key cloud credentials.
  • Constructor Details

    • CreateAwsCredentialRequest

      public CreateAwsCredentialRequest()
  • Method Details

    • 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.
    • 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