public class DeregisterInstancesFromLoadBalancerRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeregisterInstancesFromLoadBalancer operation.
Deregisters instances from the LoadBalancer. Once the instance is deregistered, it will stop receiving traffic from the LoadBalancer.
In order to successfully call this API, the same account credentials as those used to create the LoadBalancer must be provided.
| コンストラクタと説明 |
|---|
DeregisterInstancesFromLoadBalancerRequest()
Default constructor for a new DeregisterInstancesFromLoadBalancerRequest object.
|
DeregisterInstancesFromLoadBalancerRequest(java.lang.String loadBalancerName,
java.util.List<Instance> instances)
Constructs a new DeregisterInstancesFromLoadBalancerRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Instance> |
getInstances()
A list of EC2 instance IDs consisting of all instances to be
deregistered.
|
java.lang.String |
getLoadBalancerName()
The name associated with the LoadBalancer.
|
int |
hashCode() |
void |
setInstances(java.util.Collection<Instance> instances)
A list of EC2 instance IDs consisting of all instances to be
deregistered.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeregisterInstancesFromLoadBalancerRequest |
withInstances(java.util.Collection<Instance> instances)
A list of EC2 instance IDs consisting of all instances to be
deregistered.
|
DeregisterInstancesFromLoadBalancerRequest |
withInstances(Instance... instances)
A list of EC2 instance IDs consisting of all instances to be
deregistered.
|
DeregisterInstancesFromLoadBalancerRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeregisterInstancesFromLoadBalancerRequest()
public DeregisterInstancesFromLoadBalancerRequest(java.lang.String loadBalancerName,
java.util.List<Instance> instances)
loadBalancerName - The name associated with the LoadBalancer. The
name must be unique within the client AWS account.instances - A list of EC2 instance IDs consisting of all
instances to be deregistered.public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public DeregisterInstancesFromLoadBalancerRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public java.util.List<Instance> getInstances()
public void setInstances(java.util.Collection<Instance> instances)
instances - A list of EC2 instance IDs consisting of all instances to be
deregistered.public DeregisterInstancesFromLoadBalancerRequest withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances - A list of EC2 instance IDs consisting of all instances to be
deregistered.public DeregisterInstancesFromLoadBalancerRequest withInstances(java.util.Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances - A list of EC2 instance IDs consisting of all instances to be
deregistered.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object