Search in sources :

Example 1 with AwsLoadBalancerResponse

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

the class LoadBalancerToLoadBalancerResponseConverter method convertAwsLoadBalancer.

private AwsLoadBalancerResponse convertAwsLoadBalancer(AwsLoadBalancerConfigDb awsMetadata) {
    if (awsMetadata != null) {
        AwsLoadBalancerResponse awsSettings = new AwsLoadBalancerResponse();
        awsSettings.setArn(awsMetadata.getArn());
        return awsSettings;
    }
    return null;
}
Also used : AwsLoadBalancerResponse(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.loadbalancer.AwsLoadBalancerResponse)

Aggregations

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