public class BatchGetDeploymentInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a batch get deployment instances operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
deploymentId
The unique ID of a deployment.
|
private SdkInternalList<java.lang.String> |
instanceIds
The unique IDs of instances in the deployment group.
|
NOOP
Constructor and Description |
---|
BatchGetDeploymentInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeploymentId()
The unique ID of a deployment.
|
java.util.List<java.lang.String> |
getInstanceIds()
The unique IDs of instances in the deployment group.
|
int |
hashCode() |
void |
setDeploymentId(java.lang.String deploymentId)
The unique ID of a deployment.
|
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The unique IDs of instances in the deployment group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDeploymentInstancesRequest |
withDeploymentId(java.lang.String deploymentId)
The unique ID of a deployment.
|
BatchGetDeploymentInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The unique IDs of instances in the deployment group.
|
BatchGetDeploymentInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
The unique IDs of instances in the deployment group.
|
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
private java.lang.String deploymentId
The unique ID of a deployment.
private SdkInternalList<java.lang.String> instanceIds
The unique IDs of instances in the deployment group.
public void setDeploymentId(java.lang.String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public java.lang.String getDeploymentId()
The unique ID of a deployment.
public BatchGetDeploymentInstancesRequest withDeploymentId(java.lang.String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public java.util.List<java.lang.String> getInstanceIds()
The unique IDs of instances in the deployment group.
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The unique IDs of instances in the deployment group.
instanceIds
- The unique IDs of instances in the deployment group.public BatchGetDeploymentInstancesRequest withInstanceIds(java.lang.String... instanceIds)
The unique IDs of instances in the deployment group.
NOTE: This method appends the values to the existing list (if
any). Use setInstanceIds(java.util.Collection)
or
withInstanceIds(java.util.Collection)
if you want to override
the existing values.
instanceIds
- The unique IDs of instances in the deployment group.public BatchGetDeploymentInstancesRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The unique IDs of instances in the deployment group.
instanceIds
- The unique IDs of instances in the deployment group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BatchGetDeploymentInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()