Class UserLabel
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.gcp.v1.UserLabel
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<UserLabelBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class UserLabel extends Object implements io.fabric8.kubernetes.api.builder.Editable<UserLabelBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
UserLabel is a label 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 UserLabelBuilderedit()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.UserLabelBuildertoBuilder()
-
-
-
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 must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`.
-
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 must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`.
-
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 UserLabelBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<UserLabelBuilder>
-
toBuilder
public UserLabelBuilder toBuilder()
-
-