Class CreateGCPCredentialRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:51.335-07:00")
    public class CreateGCPCredentialRequest
    extends Object
    Request object for a create GCP credential request.
    • Constructor Detail

      • CreateGCPCredentialRequest

        public CreateGCPCredentialRequest()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object