Class GcpTagRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:47.341-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 Detail

      • GcpTagRequest

        public GcpTagRequest()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object