public class CreateLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable
Creates a policy with the specified attributes for the specified load balancer.
Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.
Constructor and Description |
---|
CreateLoadBalancerPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<PolicyAttribute> |
getPolicyAttributes()
The policy attributes.
|
String |
getPolicyName()
The name of the load balancer policy to be created.
|
String |
getPolicyTypeName()
The name of the base policy type.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
|
void |
setPolicyName(String policyName)
The name of the load balancer policy to be created.
|
void |
setPolicyTypeName(String policyTypeName)
The name of the base policy type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoadBalancerPolicyRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(PolicyAttribute... policyAttributes)
The policy attributes.
|
CreateLoadBalancerPolicyRequest |
withPolicyName(String policyName)
The name of the load balancer policy to be created.
|
CreateLoadBalancerPolicyRequest |
withPolicyTypeName(String policyTypeName)
The name of the base policy type.
|
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 CreateLoadBalancerPolicyRequest 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 String getPolicyName()
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
public void setPolicyName(String policyName)
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
policyName
- The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
public CreateLoadBalancerPolicyRequest withPolicyName(String policyName)
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
Returns a reference to this object so that method calls can be chained together.
policyName
- The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
public String getPolicyTypeName()
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
public void setPolicyTypeName(String policyTypeName)
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
policyTypeName
- The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
public CreateLoadBalancerPolicyRequest withPolicyTypeName(String policyTypeName)
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
Returns a reference to this object so that method calls can be chained together.
policyTypeName
- The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
public List<PolicyAttribute> getPolicyAttributes()
The policy attributes.
The policy attributes.
public void setPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
policyAttributes
- The policy attributes.
public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes)
The policy attributes.
Returns a reference to this object so that method calls can be chained together.
policyAttributes
- The policy attributes.
public CreateLoadBalancerPolicyRequest withPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
Returns a reference to this object so that method calls can be chained together.
policyAttributes
- The policy attributes.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.