Class GCPResourceLabel
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.GCPResourceLabel
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPResourceLabelBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPResourceLabel extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPResourceLabelBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPResourceLabel is a label to apply to GCP resources created for the cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPResourceLabel()No args constructor for use in serializationGCPResourceLabel(String key, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPResourceLabelBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKey()key is the key part of the label.StringgetValue()value is the value part of the label.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKey(String key)key is the key part of the label.voidsetValue(String value)value is the value part of the label.GCPResourceLabelBuildertoBuilder()
-
-
-
Method Detail
-
getKey
public String getKey()
key is the key part of the label. A label key can have a maximum of 63 characters and cannot be empty. Label key must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`. Label key must not have the reserved prefixes `kubernetes-io` and `openshift-io`.
-
setKey
public void setKey(String key)
key is the key part of the label. A label key can have a maximum of 63 characters and cannot be empty. Label key must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`. Label key must not have the reserved prefixes `kubernetes-io` and `openshift-io`.
-
getValue
public String getValue()
value is the value part of the label. A label value can have a maximum of 63 characters and cannot be empty. Value must contain only lowercase letters, numeric characters, and the following special characters `_-`.
-
setValue
public void setValue(String value)
value is the value part of the label. A label value can have a maximum of 63 characters and cannot be empty. Value must contain only lowercase letters, numeric characters, and the following special characters `_-`.
-
edit
public GCPResourceLabelBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPResourceLabelBuilder>
-
toBuilder
public GCPResourceLabelBuilder toBuilder()
-
-