Search in sources :

Example 1 with GcpLoadBalancerResponse

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

the class LoadBalancerToLoadBalancerResponseConverter method convertGcpLoadBalancer.

private GcpLoadBalancerResponse convertGcpLoadBalancer(GcpLoadBalancerConfigDb gcpMetadata) {
    if (gcpMetadata != null) {
        GcpLoadBalancerResponse gcpResponse = new GcpLoadBalancerResponse();
        gcpResponse.setName(gcpMetadata.getName());
        return gcpResponse;
    }
    return null;
}
Also used : GcpLoadBalancerResponse(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.loadbalancer.GcpLoadBalancerResponse)

Aggregations

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