group.rxcloud.capa.component.configstore.ConfigurationItem Maven / Gradle / Ivy
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package group.rxcloud.capa.component.configstore;
import java.util.Map;
public class ConfigurationItem {
/**
* Required. The key of configuration item
*/
private String key;
/**
* The content of configuration item
* Empty if the configuration is not set, including the case that the configuration is changed from value-set to value-not-set.
*/
private T content;
/**
* The group of configuration item.
*/
private String group;
/**
* The label of configuration item.
*/
private String label;
/**
* The tag list of configuration item.
*/
private Map tags;
/**
* The metadata which will be passed to configuration store component.
*/
private Map metadata;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public T getContent() {
return content;
}
public void setContent(T content) {
this.content = content;
}
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public Map getTags() {
return tags;
}
public void setTags(Map tags) {
this.tags = tags;
}
public Map getMetadata() {
return metadata;
}
public void setMetadata(Map metadata) {
this.metadata = metadata;
}
}