com.microsoft.azure.sdk.iot.service.configurations.ConfigurationContent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot-service-client Show documentation
Show all versions of iot-service-client Show documentation
The Microsoft Azure IoT Service SDK for Java
The newest version!
package com.microsoft.azure.sdk.iot.service.configurations;
import com.microsoft.azure.sdk.iot.service.configurations.serializers.ConfigurationContentParser;
import lombok.Getter;
import lombok.Setter;
import java.util.HashMap;
import java.util.Map;
public class ConfigurationContent
{
/**
* The configurations to be applied to the Edge agent.
* @see Create a deployment manifest
*/
@Getter
@Setter
protected Map> modulesContent;
/**
* The configurations to be applied on device modules.
*/
@Getter
@Setter
protected Map moduleContent;
/**
* The configurations to be applied on devices.
*/
@Getter
@Setter
protected Map deviceContent;
public ConfigurationContent()
{
this.modulesContent = new HashMap<>();
this.deviceContent = new HashMap<>();
this.moduleContent = new HashMap<>();
}
public ConfigurationContentParser toConfigurationContentParser()
{
ConfigurationContentParser parser = new ConfigurationContentParser();
parser.setModulesContent(this.modulesContent);
parser.setDeviceContent(this.deviceContent);
parser.setModuleContent(this.moduleContent);
return parser;
}
}