public class DescribeLoadBalancerPoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| Constructor and Description |
|---|
DescribeLoadBalancerPoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
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.public DescribeLoadBalancerPoliciesRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
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.public java.util.List<java.lang.String> getPolicyNames()
public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
policyNames - The names of load balancer policies you've created or Elastic Load
Balancing sample policy names.public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.lang.String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - The names of load balancer policies you've created or Elastic Load
Balancing sample policy names.public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - The names of load balancer policies you've created or Elastic Load
Balancing sample policy names.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object