Class DeregisterInstancesFromLoadBalancerRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.DeregisterInstancesFromLoadBalancerRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeregisterInstancesFromLoadBalancerRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DeregisterInstancesFromLoadBalancerRequest object.DeregisterInstancesFromLoadBalancerRequest
(String loadBalancerName, List<Instance> instances) Constructs a new DeregisterInstancesFromLoadBalancerRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The IDs of the instances.The name of the load balancer.int
hashCode()
void
setInstances
(Collection<Instance> instances) The IDs of the instances.void
setLoadBalancerName
(String loadBalancerName) The name of the load balancer.toString()
Returns a string representation of this object; useful for testing and debugging.withInstances
(Instance... instances) The IDs of the instances.withInstances
(Collection<Instance> instances) The IDs of the instances.withLoadBalancerName
(String loadBalancerName) The name of the load balancer.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DeregisterInstancesFromLoadBalancerRequest
public DeregisterInstancesFromLoadBalancerRequest()Default constructor for DeregisterInstancesFromLoadBalancerRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
DeregisterInstancesFromLoadBalancerRequest
public DeregisterInstancesFromLoadBalancerRequest(String loadBalancerName, List<Instance> instances) Constructs a new DeregisterInstancesFromLoadBalancerRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
loadBalancerName
- The name of the load balancer.instances
- The IDs of the instances.
-
-
Method Details
-
setLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.
-
getLoadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
withLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstances
The IDs of the instances.
- Returns:
- The IDs of the instances.
-
setInstances
The IDs of the instances.
- Parameters:
instances
- The IDs of the instances.
-
withInstances
The IDs of the instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
orwithInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
instances
- The IDs of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstances
The IDs of the instances.
- Parameters:
instances
- The IDs of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-