@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterInstancesWithLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for RegisterInstancesWithLoadBalancer.
NOOP
Constructor and Description |
---|
RegisterInstancesWithLoadBalancerRequest()
Default constructor for RegisterInstancesWithLoadBalancerRequest object.
|
RegisterInstancesWithLoadBalancerRequest(String loadBalancerName,
List<Instance> instances)
Constructs a new RegisterInstancesWithLoadBalancerRequest object.
|
Modifier and Type | Method and Description |
---|---|
RegisterInstancesWithLoadBalancerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Instance> |
getInstances()
The IDs of the instances.
|
String |
getLoadBalancerName()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterInstancesWithLoadBalancerRequest |
withInstances(Collection<Instance> instances)
The IDs of the instances.
|
RegisterInstancesWithLoadBalancerRequest |
withInstances(Instance... instances)
The IDs of the instances.
|
RegisterInstancesWithLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RegisterInstancesWithLoadBalancerRequest()
public RegisterInstancesWithLoadBalancerRequest(String loadBalancerName, List<Instance> instances)
loadBalancerName
- The name of the load balancer.instances
- The IDs of the instances.public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public RegisterInstancesWithLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public List<Instance> getInstances()
The IDs of the instances.
public void setInstances(Collection<Instance> instances)
The IDs of the instances.
instances
- The IDs of the instances.public RegisterInstancesWithLoadBalancerRequest withInstances(Instance... instances)
The IDs of the instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- The IDs of the instances.public RegisterInstancesWithLoadBalancerRequest withInstances(Collection<Instance> instances)
The IDs of the instances.
instances
- The IDs of the instances.public String toString()
toString
in class Object
Object.toString()
public RegisterInstancesWithLoadBalancerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.