Examples of LoadBalancerMetadataImpl


Examples of org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl

   @Override
   public LoadBalancerMetadata apply(LoadBalancerInRegion input) {

      Location location = findLocationWithId(input.getRegion());

      return new LoadBalancerMetadataImpl(LoadBalancerType.LB, input.getName(), input.getName(), input.slashEncode(),
               location, null, ImmutableMap.<String, String> of(),
               ImmutableSet.of(input.getLoadBalancer().getDnsName()));
   }
View Full Code Here

Examples of org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl

   @Override
   public LoadBalancerMetadata apply(LoadBalancerInRegion input) {

      Location location = findLocationWithId(input.getRegion());

      return new LoadBalancerMetadataImpl(LoadBalancerType.LB, input.getName(), input.getName(), input.slashEncode(),
               location, null, ImmutableMap.<String, String> of(),
               ImmutableSet.of(input.getLoadBalancer().getDnsName()));
   }
View Full Code Here

Examples of org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl

      Location location = Iterables.find(locations.get(), LocationPredicates.idEquals(input.getRegion()));

      String id = input.getRegion() + "/" + input.getId();
      // TODO Builder
      return new LoadBalancerMetadataImpl(LoadBalancerType.LB, String.valueOf(input.getId()), input.getName(), id, location, null,
               ImmutableMap.<String, String> of(), Iterables.transform(input.getVirtualIPs(),
                        new Function<VirtualIPWithId, String>() {

                           @Override
                           public String apply(VirtualIPWithId arg0) {
View Full Code Here

Examples of org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl

      Location location = Iterables.find(locations.get(), LocationPredicates.idEquals(input.getRegion()));

      String id = input.getRegion() + "/" + input.getId();
      // TODO Builder
      return new LoadBalancerMetadataImpl(LoadBalancerType.LB, String.valueOf(input.getId()), input.getName(), id, location, null,
               ImmutableMap.<String, String> of(), Iterables.transform(input.getVirtualIPs(),
                        new Function<VirtualIPWithId, String>() {

                           @Override
                           public String apply(VirtualIPWithId arg0) {
View Full Code Here

Examples of org.jclouds.loadbalancer.domain.internal.LoadBalancerMetadataImpl

      Location location = Iterables.find(locations.get(), LocationPredicates.idEquals(input.getRegion()));

      String id = input.getRegion() + "/" + input.getId();
      // TODO Builder
      return new LoadBalancerMetadataImpl(LoadBalancerType.LB, String.valueOf(input.getId()), input.getName(), id, location, null,
               ImmutableMap.<String, String> of(), Iterables.transform(input.getVirtualIPs(),
                        new Function<VirtualIPWithId, String>() {

                           @Override
                           public String apply(VirtualIPWithId arg0) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.