public class DeleteLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteLoadBalancerPolicy operation.
Deletes the specified policy from the specified load balancer. This 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 name of the load balancer.
|
String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerPolicyRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
DeleteLoadBalancerPolicyRequest |
withPolicyName(String policyName)
The name of the policy.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteLoadBalancerPolicyRequest()
public DeleteLoadBalancerPolicyRequest(String loadBalancerName, String policyName)
loadBalancerName - The name of the load balancer.policyName - The name of the policy.public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName - The name of the load balancer.public DeleteLoadBalancerPolicyRequest 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 String getPolicyName()
public void setPolicyName(String policyName)
policyName - The name of the policy.public DeleteLoadBalancerPolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
policyName - The name of the policy.public String toString()
toString in class ObjectObject.toString()public DeleteLoadBalancerPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.