public class DescribeLoadBalancerPoliciesRequest extends AmazonWebServiceRequest implements 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(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<String> |
getPolicyNames()
The names of the policies.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyNames(Collection<String> policyNames)
The names of the policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLoadBalancerPoliciesRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
DescribeLoadBalancerPoliciesRequest |
withPolicyNames(Collection<String> policyNames)
The names of the policies.
|
DescribeLoadBalancerPoliciesRequest |
withPolicyNames(String... policyNames)
The names of the policies.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public DescribeLoadBalancerPoliciesRequest withLoadBalancerName(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 List<String> getPolicyNames()
The names of the policies.
The names of the policies.
public void setPolicyNames(Collection<String> policyNames)
The names of the policies.
policyNames
- The names of the policies.
public DescribeLoadBalancerPoliciesRequest withPolicyNames(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(Collection<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 String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.