com.amazonaws.services.elasticloadbalancing.model
Class DescribeLoadBalancerPoliciesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancerPoliciesRequest
All Implemented Interfaces:
java.io.Serializable

public class DescribeLoadBalancerPoliciesRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DescribeLoadBalancerPolicies operation.

Returns detailed descriptions of the policies. If you specify a load balancer name, the action returns the descriptions of all the policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all the sample policies. The names of the sample policies have the ELBSample- prefix.

See Also:
AmazonElasticLoadBalancing.describeLoadBalancerPolicies(DescribeLoadBalancerPoliciesRequest), Serialized Form

Constructor Summary
DescribeLoadBalancerPoliciesRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLoadBalancerName()
          The mnemonic name associated with the load balancer.
 java.util.List<java.lang.String> getPolicyNames()
          The names of load balancer policies you've created or Elastic Load Balancing sample policy names.
 int hashCode()
           
 void setLoadBalancerName(java.lang.String loadBalancerName)
          The mnemonic name associated with the load balancer.
 void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
          The names of load balancer policies you've created or Elastic Load Balancing sample policy names.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLoadBalancerPoliciesRequest withLoadBalancerName(java.lang.String loadBalancerName)
          The mnemonic name associated with the load balancer.
 DescribeLoadBalancerPoliciesRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)
          The names of load balancer policies you've created or Elastic Load Balancing sample policy names.
 DescribeLoadBalancerPoliciesRequest withPolicyNames(java.lang.String... policyNames)
          The names of load balancer policies you've created or Elastic Load Balancing sample policy names.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeLoadBalancerPoliciesRequest

public DescribeLoadBalancerPoliciesRequest()
Method Detail

getLoadBalancerName

public java.lang.String getLoadBalancerName()
The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.

Returns:
The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.

setLoadBalancerName

public void setLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.

Parameters:
loadBalancerName - The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.

withLoadBalancerName

public DescribeLoadBalancerPoliciesRequest withLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancerName - The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyNames

public java.util.List<java.lang.String> getPolicyNames()
The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

Returns:
The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

setPolicyNames

public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

Parameters:
policyNames - The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

withPolicyNames

public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.lang.String... policyNames)
The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

Returns a reference to this object so that method calls can be chained together.

Parameters:
policyNames - The names of load balancer policies you've created or Elastic Load Balancing sample policy names.
Returns:
A reference to this updated object so that method calls can be chained together.

withPolicyNames

public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

Returns a reference to this object so that method calls can be chained together.

Parameters:
policyNames - The names of load balancer policies you've created or Elastic Load Balancing sample policy names.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.