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 http://www.apache.org/licenses/LICENSE-2.0 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 org.jclouds.aws.reference.FormParameters.ACTION;
 
 import java.util.Set;
 
 import  javax.annotation.Nullable;
 
 
Provides access to EC2 Elastic Load Balancer via REST API.

Author(s):
Lili Nader
See also:
ELB documentation
 
 public interface ELBAsyncClient {
    public static final String VERSION = "2011-11-15";
 
    // TODO: there are a lot of missing methods
 
   

See also:
ELBClient.createLoadBalancerInRegion
 
    @POST
    @Path("/")
    @FormParams(keys = , values = "CreateLoadBalancer")
    @Beta
    // TODO:The way this handles arguments needs to be refactored. it needs to deal with collections
    // of listeners.
             @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,
             @FormParam("LoadBalancerName"String name, @FormParam("Listeners.member.1.Protocol"String protocol,
             @FormParam("Listeners.member.1.LoadBalancerPort"int loadBalancerPort,
             @FormParam("Listeners.member.1.InstancePort"int instancePort,
             @BinderParam(BindAvailabilityZonesToIndexedFormParams.classString... availabilityZones);

   

See also:
ELBClient.deleteLoadBalancerInRegion
 
    @POST
    @Path("/")
    @FormParams(keys = , values = "DeleteLoadBalancer")
             @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,
             @FormParam("LoadBalancerName"String name);

   

See also:
ELBClient.registerInstancesWithLoadBalancerInRegion
 
    @POST
    @Path("/")
   @FormParams(keys = , values = "RegisterInstancesWithLoadBalancer")
            @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,
            @FormParam("LoadBalancerName"String name,
            @BinderParam(BindInstanceIdsToIndexedFormParams.classString... instanceIds);

   

See also:
ELBClient.deregisterInstancesWithLoadBalancerInRegion
   @POST
   @Path("/")
   @FormParams(keys = , values = "DeregisterInstancesFromLoadBalancer")
            @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,
            @FormParam("LoadBalancerName"String name,
            @BinderParam(BindInstanceIdsToIndexedFormParams.classString... instanceIds);

   

See also:
ELBClient.describeLoadBalancersInRegion
   @POST
   @Path("/")
   @FormParams(keys = , values = "DescribeLoadBalancers")
            @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,
            @BinderParam(BindLoadBalancerNamesToIndexedFormParams.classString... loadbalancerNames);
New to GrepCode? Check out our FAQ X