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() |
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
public DeleteLoadBalancerPolicyRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.