Class GcpTagRequest
- java.lang.Object
-
- com.cloudera.cdp.environments.model.GcpTagRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-14T10:47:18.529-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 Summary
Constructors Constructor Description GcpTagRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getKey()
Getter for key.String
getValue()
Getter for value.int
hashCode()
void
setKey(String key)
Setter for key.void
setValue(String value)
Setter for value.String
toString()
-
-
-
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.
-
-