Class GcpTagRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:26.724-07:00") public class GcpTagRequest extends Object
A label that can be attached to GCP resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.
  • Constructor Details

    • GcpTagRequest

      public GcpTagRequest()
  • Method Details

    • getKey

      public String getKey()
      Getter for key. The tag's name.
    • setKey

      public void setKey(String key)
      Setter for key. The tag's name.
    • getValue

      public String getValue()
      Getter for value. The associated value of the tag.
    • setValue

      public void setValue(String value)
      Setter for value. The associated value of the tag.
    • 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