Class CreateGCPCredentialRequest

java.lang.Object
com.cloudera.cdp.environments.model.CreateGCPCredentialRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:26.724-07:00") public class CreateGCPCredentialRequest extends Object
Request object for a create GCP credential request.
  • Constructor Details

    • CreateGCPCredentialRequest

      public CreateGCPCredentialRequest()
  • Method Details

    • getCredentialName

      public String getCredentialName()
      Getter for credentialName. The name of the credential.
    • setCredentialName

      public void setCredentialName(String credentialName)
      Setter for credentialName. The name of the credential.
    • getCredentialKey

      public String getCredentialKey()
      Getter for credentialKey. The JSON key for the service account. Please use local path when using the CLI (e.g. file:///absolute/path/to/cred.json) to avoid exposing the keys in the command line history.
    • setCredentialKey

      public void setCredentialKey(String credentialKey)
      Setter for credentialKey. The JSON key for the service account. Please use local path when using the CLI (e.g. file:///absolute/path/to/cred.json) to avoid exposing the keys in the command line history.
    • getDescription

      public String getDescription()
      Getter for description. A description for the credential.
    • setDescription

      public void setDescription(String description)
      Setter for description. A description for the credential.
    • 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