public class DescribeLoadBalancerPoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Describes the specified policies.
If you specify a load balancer name, the action returns the descriptions of
all 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 sample
policies. The names of the sample policies have the ELBSample-
prefix.
Constructor and Description |
---|
DescribeLoadBalancerPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.util.List<java.lang.String> |
getPolicyNames()
The names of the policies.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of the policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLoadBalancerPoliciesRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
DescribeLoadBalancerPoliciesRequest |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of the policies.
|
DescribeLoadBalancerPoliciesRequest |
withPolicyNames(java.lang.String... policyNames)
The names of the policies.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public DescribeLoadBalancerPoliciesRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.
public java.util.List<java.lang.String> getPolicyNames()
The names of the policies.
The names of the policies.
public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of the policies.
policyNames
- The names of the policies.
public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.lang.String... policyNames)
The names of the policies.
Returns a reference to this object so that method calls can be chained together.
policyNames
- The names of the policies.
public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of the policies.
Returns a reference to this object so that method calls can be chained together.
policyNames
- The names of the policies.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.