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.elb;
import static;
import static;
Implementation of org.jclouds.apis.ApiMetadata for Amazon's Elastic Load Balancing api.

Adrian Cole
public class ELBApiMetadata extends BaseRestApiMetadata {
   public static final TypeToken<RestContext<ELBApiELBAsyncApi>> CONTEXT_TOKEN = new TypeToken<RestContext<ELBApiELBAsyncApi>>() {
      private static final long serialVersionUID = 1L;
   public Builder toBuilder() {
      return new Builder(getApi(), getAsyncApi()).fromApiMetadata(this);
   public ELBApiMetadata() {
      this(new Builder(ELBApi.classELBAsyncApi.class));
   protected ELBApiMetadata(Builder builder) {
   public static Properties defaultProperties() {
      Properties properties = BaseRestApiMetadata.defaultProperties();
      return properties;
   public static class Builder extends BaseRestApiMetadata.Builder<Builder> {
      protected Builder(Class<?> apiClass<?> asyncApi) {
         .name("Amazon Elastic Load Balancing Api")
         .identityName("Access Key ID")
         .credentialName("Secret Access Key")
         .defaultModules(ImmutableSet.<Class<? extends Module>>of(ELBRestClientModule.classELBLoadBalancerContextModule.class));
      public ELBApiMetadata build() {
         return new ELBApiMetadata(this);
      protected Builder self() {
         return this;
New to GrepCode? Check out our FAQ X