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.features;
 
 import java.util.Set;
 
Provides access to Amazon ELB via the Query API

Author(s):
Adrian Cole
See also:
 
 @Timeout(duration = 30, timeUnit = .)
 public interface PolicyClient {

   
Retrieves information about the specified policy.

Parameters:
name Name of the policy to get information about.
Returns:
null if not found
 
    @Nullable
    Policy get(String name);

   
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
 
    Set<Policylist(ListPoliciesOptions options);

   
returns descriptions of the specified sample policies, or descriptions of all the sample policies.

Returns:
the response object
 
    Set<Policylist();

   
Retrieves information about the specified policy type.

Parameters:
name Name of the policy type to get information about.
Returns:
null if not found
 
    @Nullable
    PolicyType getType(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
 
    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()
 
New to GrepCode? Check out our FAQ X