org.jclouds.elb.features
Interface PolicyApi


public interface PolicyApi

Provides access to Amazon ELB via the Query API

Author:
Adrian Cole
See Also:

Method Summary
 Policy get(String name)
          Retrieves information about the specified policy.
 PolicyType getType(String name)
          Retrieves information about the specified policy type.
 Set<Policy> list()
          returns descriptions of the specified sample policies, or descriptions of all the sample policies.
 Set<Policy> list(ListPoliciesOptions options)
          Returns detailed descriptions of the policies.
 Set<PolicyType> listTypes()
          Returns meta-information on the specified LoadBalancer policies defined by the Elastic Load Balancing service.
 Set<PolicyType> listTypes(Iterable<String> names)
           
 

Method Detail

get

@Nullable
Policy get(String name)
Retrieves information about the specified policy.

Parameters:
name - Name of the policy to get information about.
Returns:
null if not found

list

Set<Policy> list(ListPoliciesOptions options)
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

list

Set<Policy> list()
returns descriptions of the specified sample policies, or descriptions of all the sample policies.

Returns:
the response object

getType

@Nullable
PolicyType getType(String name)
Retrieves information about the specified policy type.

Parameters:
name - Name of the policy type to get information about.
Returns:
null if not found

listTypes

Set<PolicyType> listTypes()
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

listTypes

Set<PolicyType> listTypes(Iterable<String> names)
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()


Copyright © 2009-2012 jclouds. All Rights Reserved.