File tree 1 file changed +31
-0
lines changed
com.developer.nefarious.zjoule.plugin/src/com/developer/nefarious/zjoule/plugin/models
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -170,24 +170,55 @@ public void setZoneId(final String zoneId) {
170
170
}
171
171
}
172
172
173
+ /**
174
+ * Represents a label associated with a resource group.
175
+ * <p>
176
+ * A label is a key-value pair used for categorizing or tagging resources.
177
+ * Labels provide metadata that can be utilized for searching, filtering,
178
+ * or organizing resource groups. Each label consists of a unique key and an
179
+ * associated value.
180
+ * </p>
181
+ */
173
182
class Label {
174
183
184
+ /** The key of the label, representing the category or identifier. */
175
185
private String key ;
176
186
187
+ /** The value of the label, providing additional information or context. */
177
188
private String value ;
178
189
190
+ /**
191
+ * Retrieves the key of the label.
192
+ *
193
+ * @return the key as a {@link String}.
194
+ */
179
195
public String getKey () {
180
196
return key ;
181
197
}
182
198
199
+ /**
200
+ * Sets the key of the label.
201
+ *
202
+ * @param key the key to set.
203
+ */
183
204
public void setKey (final String key ) {
184
205
this .key = key ;
185
206
}
186
207
208
+ /**
209
+ * Retrieves the value of the label.
210
+ *
211
+ * @return the value as a {@link String}.
212
+ */
187
213
public String getValue () {
188
214
return value ;
189
215
}
190
216
217
+ /**
218
+ * Sets the value of the label.
219
+ *
220
+ * @param value the value to set.
221
+ */
191
222
public void setValue (final String value ) {
192
223
this .value = value ;
193
224
}
You can’t perform that action at this time.
0 commit comments