use of com.sequenceiq.distrox.api.v1.distrox.model.network.yarn.InstanceGroupYarnNetworkV1Parameters in project cloudbreak by hortonworks.
the class InstanceGroupNetworkParameterConverter method convert.
public InstanceGroupYarnNetworkV4Parameters convert(InstanceGroupYarnNetworkV1Parameters yarn, EnvironmentNetworkResponse value, CloudPlatform cloudPlatform) {
InstanceGroupYarnNetworkV4Parameters response = null;
if (CloudPlatform.YARN == cloudPlatform) {
InstanceGroupYarnNetworkV1Parameters params = yarn == null ? new InstanceGroupYarnNetworkV1Parameters() : yarn;
response = convertToYarnNetworkParams(new ImmutablePair<>(params, value));
}
return response;
}
Aggregations