com.amazonaws.services.elasticloadbalancing.model
Class DescribeLoadBalancerPoliciesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancerPoliciesRequest

public class DescribeLoadBalancerPoliciesRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeLoadBalancerPolicies operation.

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.

See Also:
AmazonElasticLoadBalancing.describeLoadBalancerPolicies(DescribeLoadBalancerPoliciesRequest)

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

Constructor Detail

DescribeLoadBalancerPoliciesRequest

public DescribeLoadBalancerPoliciesRequest()
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The mnemonic name associated with the LoadBalancer. 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 LoadBalancer. 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(String loadBalancerName)
The mnemonic name associated with the LoadBalancer. 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 LoadBalancer. 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(String loadBalancerName)
The mnemonic name associated with the LoadBalancer. 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 LoadBalancer. 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 List<String> getPolicyNames()
The names of LoadBalancer policies you've created or Elastic Load Balancing sample policy names.

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

setPolicyNames

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

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

withPolicyNames

public DescribeLoadBalancerPoliciesRequest withPolicyNames(String... policyNames)
The names of LoadBalancer 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 LoadBalancer 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(Collection<String> policyNames)
The names of LoadBalancer 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 LoadBalancer 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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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