public class BatchGetOnPremisesInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a batch get on-premises instances operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
instanceNames
The names of the on-premises instances about which to get information.
|
NOOP
Constructor and Description |
---|
BatchGetOnPremisesInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetOnPremisesInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstanceNames()
The names of the on-premises instances about which to get information.
|
int |
hashCode() |
void |
setInstanceNames(java.util.Collection<java.lang.String> instanceNames)
The names of the on-premises instances about which to get information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetOnPremisesInstancesRequest |
withInstanceNames(java.util.Collection<java.lang.String> instanceNames)
The names of the on-premises instances about which to get information.
|
BatchGetOnPremisesInstancesRequest |
withInstanceNames(java.lang.String... instanceNames)
The names of the on-premises instances about which to get information.
|
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 SdkInternalList<java.lang.String> instanceNames
The names of the on-premises instances about which to get information.
public java.util.List<java.lang.String> getInstanceNames()
The names of the on-premises instances about which to get information.
public void setInstanceNames(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 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 BatchGetOnPremisesInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()