public class DeleteLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable
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 |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.