public class DescribeLoadBalancerPolicyTypesRequest extends AmazonWebServiceRequest implements Serializable
Describes the specified load balancer policy types or all load balancer policy types.
The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.
You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.
Constructor and Description |
---|
DescribeLoadBalancerPolicyTypesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getPolicyTypeNames()
The names of the policy types.
|
int |
hashCode() |
void |
setPolicyTypeNames(Collection<String> policyTypeNames)
The names of the policy types.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLoadBalancerPolicyTypesRequest |
withPolicyTypeNames(Collection<String> policyTypeNames)
The names of the policy types.
|
DescribeLoadBalancerPolicyTypesRequest |
withPolicyTypeNames(String... policyTypeNames)
The names of the policy types.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeLoadBalancerPolicyTypesRequest()
public List<String> getPolicyTypeNames()
The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
public void setPolicyTypeNames(Collection<String> policyTypeNames)
The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
policyTypeNames
- The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
public DescribeLoadBalancerPolicyTypesRequest withPolicyTypeNames(String... policyTypeNames)
The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
Returns a reference to this object so that method calls can be chained together.
policyTypeNames
- The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
public DescribeLoadBalancerPolicyTypesRequest withPolicyTypeNames(Collection<String> policyTypeNames)
The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
Returns a reference to this object so that method calls can be chained together.
policyTypeNames
- The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.