Package org.jclouds.samples.googleappengine.domain.ResourceResult

Examples of org.jclouds.samples.googleappengine.domain.ResourceResult.Builder.provider()


   public ResourceResult apply(ResourceMetadata<?> in) {
      Builder builder = ResourceResult.builder();
      Location provider = in.getLocation();
      while (provider.getParent() != null)
         provider = provider.getParent();
      builder.provider(provider.getId());
      builder.location(in.getLocation().getId());
      builder.type(in.getType().toString().toLowerCase());
      builder.id(in.getProviderId());
      builder.name(in.getName());
      return builder.build();
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.