Search in sources :

Example 1 with AzureLoadBalancerResponse

use of com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.loadbalancer.AzureLoadBalancerResponse in project cloudbreak by hortonworks.

the class LoadBalancerToLoadBalancerResponseConverter method convertAzureLoadBalancer.

private AzureLoadBalancerResponse convertAzureLoadBalancer(AzureLoadBalancerConfigDb azureMetadata) {
    if (azureMetadata != null) {
        AzureLoadBalancerResponse azureSettings = new AzureLoadBalancerResponse();
        azureSettings.setName(azureMetadata.getName());
        return azureSettings;
    }
    return null;
}
Also used : AzureLoadBalancerResponse(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.loadbalancer.AzureLoadBalancerResponse)

Aggregations

AzureLoadBalancerResponse (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.loadbalancer.AzureLoadBalancerResponse)1