public class DeleteLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
Constructor and Description |
---|
DeleteLoadBalancerPolicyRequest()
Default constructor for DeleteLoadBalancerPolicyRequest object.
|
DeleteLoadBalancerPolicyRequest(java.lang.String loadBalancerName,
java.lang.String policyName)
Constructs a new DeleteLoadBalancerPolicyRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.lang.String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyName(java.lang.String policyName)
The name of the policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerPolicyRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
DeleteLoadBalancerPolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the policy.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteLoadBalancerPolicyRequest()
public DeleteLoadBalancerPolicyRequest(java.lang.String loadBalancerName, java.lang.String policyName)
loadBalancerName
- The name of the load balancer.
policyName
- The name of the policy.
public java.lang.String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public DeleteLoadBalancerPolicyRequest withLoadBalancerName(java.lang.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 java.lang.String getPolicyName()
The name of the policy.
The name of the policy.
public void setPolicyName(java.lang.String policyName)
The name of the policy.
policyName
- The name of the policy.
public DeleteLoadBalancerPolicyRequest withPolicyName(java.lang.String policyName)
The name of the policy.
Returns a reference to this object so that method calls can be chained together.
policyName
- The name of the policy.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.