public class BatchGetOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
BatchGetOnPremisesInstances operation
.
Gets information about one or more on-premises instances.
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, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getInstanceNames()
public void setInstanceNames(Collection<String> instanceNames)
instanceNames
- The names of the on-premises instances to get information about.public BatchGetOnPremisesInstancesRequest withInstanceNames(String... instanceNames)
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.
Returns a reference to this object so that method calls can be chained together.
instanceNames
- The names of the on-premises instances to get information about.public BatchGetOnPremisesInstancesRequest withInstanceNames(Collection<String> instanceNames)
Returns a reference to this object so that method calls can be chained together.
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.