Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed to jclouds, Inc. (jclouds) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. jclouds licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.jclouds.carrenza.vcloud.director;
import static org.jclouds.Constants.PROPERTY_BUILD_VERSION;
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.PROPERTY_VCLOUD_DIRECTOR_DEFAULT_NETWORK;
Implementation of org.jclouds.types.ProviderMetadata for Carrenza vCloud hosting

Adrian Cole
   public static Builder builder() {
      return new Builder();
   public Builder toBuilder() {
      return builder().fromProviderMetadata(this);
   public static Properties defaultProperties() {
      Properties properties = new Properties();
      return properties;
   public static class Builder extends BaseProviderMetadata.Builder {
      protected Builder() {
         .name("Carrenza vCloud Director")
                     .defaultModules(ImmutableSet.<Class<? extends Module>>of(CarrenzaVCloudDirectorRestClientModule.classCarrenzaVCloudDirectorComputeServiceContextModule.class))
         return new CarrenzaVCloudDirectorProviderMetadata(this);
      public Builder fromProviderMetadata(
            ProviderMetadata in) {
         return this;
New to GrepCode? Check out our FAQ X