Class UserTag
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.gcp.v1.UserTag
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<UserTagBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class UserTag extends Object implements io.fabric8.kubernetes.api.builder.Editable<UserTagBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
UserTag is a tag to apply to GCP resources created for the cluster.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserTagBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKey()key is the key part of the tag.StringgetParentID()parentID is the ID of the hierarchical resource where the tags are defined, e.g. at the Organization or the Project level.StringgetValue()value is the value part of the tag.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKey(String key)key is the key part of the tag.voidsetParentID(String parentID)parentID is the ID of the hierarchical resource where the tags are defined, e.g. at the Organization or the Project level.voidsetValue(String value)value is the value part of the tag.UserTagBuildertoBuilder()
-
-
-
Method Detail
-
getKey
public String getKey()
key is the key part of the tag. A tag key can have a maximum of 63 characters and cannot be empty. Tag key must begin and end with an alphanumeric character, and must contain only uppercase, lowercase alphanumeric characters, and the following special characters `._-`.
-
setKey
public void setKey(String key)
key is the key part of the tag. A tag key can have a maximum of 63 characters and cannot be empty. Tag key must begin and end with an alphanumeric character, and must contain only uppercase, lowercase alphanumeric characters, and the following special characters `._-`.
-
getParentID
public String getParentID()
parentID is the ID of the hierarchical resource where the tags are defined, e.g. at the Organization or the Project level. To find the Organization ID or Project ID refer to the following pages: https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id, https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects. An OrganizationID must consist of decimal numbers, and cannot have leading zeroes. A ProjectID must be 6 to 30 characters in length, can only contain lowercase letters, numbers, and hyphens, and must start with a letter, and cannot end with a hyphen.
-
setParentID
public void setParentID(String parentID)
parentID is the ID of the hierarchical resource where the tags are defined, e.g. at the Organization or the Project level. To find the Organization ID or Project ID refer to the following pages: https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id, https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects. An OrganizationID must consist of decimal numbers, and cannot have leading zeroes. A ProjectID must be 6 to 30 characters in length, can only contain lowercase letters, numbers, and hyphens, and must start with a letter, and cannot end with a hyphen.
-
getValue
public String getValue()
value is the value part of the tag. A tag value can have a maximum of 63 characters and cannot be empty. Tag value must begin and end with an alphanumeric character, and must contain only uppercase, lowercase alphanumeric characters, and the following special characters `_-.@%=+:,*#&(){}[]` and spaces.
-
setValue
public void setValue(String value)
value is the value part of the tag. A tag value can have a maximum of 63 characters and cannot be empty. Tag value must begin and end with an alphanumeric character, and must contain only uppercase, lowercase alphanumeric characters, and the following special characters `_-.@%=+:,*#&(){}[]` and spaces.
-
edit
public UserTagBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<UserTagBuilder>
-
toBuilder
public UserTagBuilder toBuilder()
-
-