public class DeleteLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteLoadBalancerPolicy operation.
Deletes a policy from the load balancer. The specified policy must not be enabled for any listeners.
NOOP| Constructor and Description |
|---|
DeleteLoadBalancerPolicyRequest()
Default constructor for a new DeleteLoadBalancerPolicyRequest object.
|
DeleteLoadBalancerPolicyRequest(String loadBalancerName,
String policyName)
Constructs a new DeleteLoadBalancerPolicyRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteLoadBalancerPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The mnemonic name associated with the load balancer.
|
String |
getPolicyName()
The mnemonic name for the policy being deleted.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the load balancer.
|
void |
setPolicyName(String policyName)
The mnemonic name for the policy being deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerPolicyRequest |
withLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the load balancer.
|
DeleteLoadBalancerPolicyRequest |
withPolicyName(String policyName)
The mnemonic name for the policy being deleted.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteLoadBalancerPolicyRequest()
public DeleteLoadBalancerPolicyRequest(String loadBalancerName, String policyName)
loadBalancerName - The mnemonic name associated with the load
balancer.policyName - The mnemonic name for the policy being deleted.public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName - The mnemonic name associated with the load balancer.public DeleteLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The mnemonic name associated with the load balancer.public String getPolicyName()
public void setPolicyName(String policyName)
policyName - The mnemonic name for the policy being deleted.public DeleteLoadBalancerPolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
policyName - The mnemonic name for the policy being deleted.public String toString()
toString in class ObjectObject.toString()public DeleteLoadBalancerPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.