Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Licensed to the Apache Software Foundation (ASF) under one or more
   * contributor license agreements.  See the NOTICE file distributed with
   * this work for additional information regarding copyright ownership.
   * The ASF 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.features;
 
 import java.util.Set;
 
 
Provides access to Amazon ELB via the Query API

Author(s):
Adrian Cole
See also:
doc
 
 public interface PolicyApi {
   
   
Retrieves information about the specified policy.

Parameters:
name Name of the policy to get information about.
Returns:
null if not found
 
    @Named("DescribeLoadBalancerPolicies")
    @POST
    @Path("/")
    @FormParams(keys = "Action", values = "DescribeLoadBalancerPolicies")
    @Nullable
    Policy get(@FormParam("PolicyNames.member.1"String name);
   
   
returns descriptions of the specified sample policies, or descriptions of all the sample policies.

Returns:
the response object
 
    @Named("DescribeLoadBalancerPolicies")
    @POST
    @Path("/")
    @FormParams(keys = "Action", values = "DescribeLoadBalancerPolicies")
    Set<Policylist();

   
Returns detailed descriptions of the policies. If you specify a LoadBalancer name, the operation returns either the descriptions of the specified policies, or descriptions of all the policies created for the LoadBalancer. If you don't specify a LoadBalancer name, the operation returns descriptions of the specified sample policies, or descriptions of all the sample policies. The names of the sample policies have the ELBSample- prefix.

Parameters:
options the options describing the policies query
Returns:
the response object
 
   @Named("DescribeLoadBalancerPolicies")
   @POST
   @Path("/")
   @FormParams(keys = "Action", values = "DescribeLoadBalancerPolicies")
   Set<Policylist(ListPoliciesOptions options);

   
Retrieves information about the specified policy type.

Parameters:
name Name of the policy type to get information about.
Returns:
null if not found
   @Named("DescribeLoadBalancerPolicyTypes")
   @POST
   @Path("/")
   @FormParams(keys = "Action", values = "DescribeLoadBalancerPolicyTypes")
   PolicyType getType(@FormParam("PolicyTypeNames.member.1"String name);
   
   
Returns meta-information on the specified LoadBalancer policies defined by the Elastic Load Balancing service. The policy types that are returned from this action can be used in a CreateLoadBalancerPolicy action to instantiate specific policy configurations that will be applied to an Elastic LoadBalancer.

Returns:
the response object
   @Named("DescribeLoadBalancerPolicyTypes")
   @POST
   @Path("/")
   @FormParams(keys = "Action", values = "DescribeLoadBalancerPolicyTypes")
   Set<PolicyTypelistTypes();

   

Parameters:
names Specifies the name of the policy types. If no names are specified, returns the description of all the policy types defined by Elastic Load Balancing service.
See also:
listTypes()
   @Named("DescribeLoadBalancerPolicyTypes")
   @POST
   @Path("/")
   @FormParams(keys = "Action", values = "DescribeLoadBalancerPolicyTypes")
   
New to GrepCode? Check out our FAQ X