public class DeleteLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable
Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
Constructor and Description |
---|
DeleteLoadBalancerPolicyRequest()
Default constructor for 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 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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, 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()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public DeleteLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.
public String getPolicyName()
The name of the policy.
The name of the policy.
public void setPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.
public DeleteLoadBalancerPolicyRequest withPolicyName(String policyName)
The name of the policy.
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()
Copyright © 2018. All rights reserved.