public class BatchGetOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a batch get on-premises instances operation.
NOOP
Constructor and Description |
---|
BatchGetOnPremisesInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetOnPremisesInstancesRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstanceNames()
The names of the on-premises instances to get information about.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to get information about.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetOnPremisesInstancesRequest |
withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to get information about.
|
BatchGetOnPremisesInstancesRequest |
withInstanceNames(String... instanceNames)
The names of the on-premises instances to get information about.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getInstanceNames()
The names of the on-premises instances to get information about.
public void setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to get information about.
instanceNames
- The names of the on-premises instances to get information about.public BatchGetOnPremisesInstancesRequest withInstanceNames(String... instanceNames)
The names of the on-premises instances to get information about.
NOTE: This method appends the values to the existing list (if
any). Use setInstanceNames(java.util.Collection)
or
withInstanceNames(java.util.Collection)
if you want to override
the existing values.
instanceNames
- The names of the on-premises instances to get information about.public BatchGetOnPremisesInstancesRequest withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to get information about.
instanceNames
- The names of the on-premises instances to get information about.public String toString()
toString
in class Object
Object.toString()
public BatchGetOnPremisesInstancesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.