@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a BatchGetOnPremisesInstances operation.
NOOP| Constructor and Description |
|---|
BatchGetOnPremisesInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetOnPremisesInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getInstanceNames()
The names of the on-premises instances about which to get information.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances about which to get information.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetOnPremisesInstancesRequest |
withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances about which to get information.
|
BatchGetOnPremisesInstancesRequest |
withInstanceNames(String... instanceNames)
The names of the on-premises instances about which to get information.
|
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, withSdkRequestTimeoutpublic List<String> getInstanceNames()
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
public void setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
instanceNames - The names of the on-premises instances about which to get information. The maximum number of instance
names you can specify is 25.public BatchGetOnPremisesInstancesRequest withInstanceNames(String... instanceNames)
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
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 about which to get information. The maximum number of instance
names you can specify is 25.public BatchGetOnPremisesInstancesRequest withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
instanceNames - The names of the on-premises instances about which to get information. The maximum number of instance
names you can specify is 25.public String toString()
toString in class ObjectObject.toString()public BatchGetOnPremisesInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()