@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; useful for testing and debugging.
|
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, withSdkRequestTimeout
public List<String> getInstanceNames()
The names of the on-premises instances about which to get information.
public void setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances about which to get information.
instanceNames
- The names of the on-premises instances about which to get information.public BatchGetOnPremisesInstancesRequest withInstanceNames(String... instanceNames)
The names of the on-premises instances about which to get information.
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.public BatchGetOnPremisesInstancesRequest withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances about which to get information.
instanceNames
- The names of the on-premises instances about which to get information.public String toString()
toString
in class Object
Object.toString()
public BatchGetOnPremisesInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.