public class DeleteLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteLoadBalancerPolicy operation.
Deletes a policy from the load balancer. The specified policy must not be enabled for any listeners.
| Constructor and Description |
|---|
DeleteLoadBalancerPolicyRequest()
Default constructor for a new 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 mnemonic name associated with the load balancer.
|
java.lang.String |
getPolicyName()
The mnemonic name for the policy being deleted.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer.
|
void |
setPolicyName(java.lang.String policyName)
The mnemonic name for the policy being deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerPolicyRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer.
|
DeleteLoadBalancerPolicyRequest |
withPolicyName(java.lang.String policyName)
The mnemonic name for the policy being deleted.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic DeleteLoadBalancerPolicyRequest()
public DeleteLoadBalancerPolicyRequest(java.lang.String loadBalancerName,
java.lang.String policyName)
loadBalancerName - The mnemonic name associated with the load
balancer.policyName - The mnemonic name for the policy being deleted.public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The mnemonic name associated with the load balancer.public DeleteLoadBalancerPolicyRequest withLoadBalancerName(java.lang.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 java.lang.String getPolicyName()
public void setPolicyName(java.lang.String policyName)
policyName - The mnemonic name for the policy being deleted.public DeleteLoadBalancerPolicyRequest withPolicyName(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object