public class DescribeLoadBalancerPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeLoadBalancerPolicies operation
.
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.
NOOP
Constructor and Description |
---|
DescribeLoadBalancerPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLoadBalancerPoliciesRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name of the load balancer.public DescribeLoadBalancerPoliciesRequest withLoadBalancerName(String loadBalancerName)
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()
public void setPolicyNames(Collection<String> policyNames)
policyNames
- The names of the policies.public DescribeLoadBalancerPoliciesRequest withPolicyNames(String... policyNames)
NOTE: This method appends the values to the existing list (if
any). Use setPolicyNames(java.util.Collection)
or withPolicyNames(java.util.Collection)
if you want to override the
existing values.
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)
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()
public DescribeLoadBalancerPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.