@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetOnPremisesInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a BatchGetOnPremisesInstances operation.
| Constructor and Description |
|---|
BatchGetOnPremisesInstancesResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetOnPremisesInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceInfo> |
getInstanceInfos()
Information about the on-premises instances.
|
int |
hashCode() |
void |
setInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetOnPremisesInstancesResult |
withInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
|
BatchGetOnPremisesInstancesResult |
withInstanceInfos(InstanceInfo... instanceInfos)
Information about the on-premises instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<InstanceInfo> getInstanceInfos()
Information about the on-premises instances.
public void setInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
instanceInfos - Information about the on-premises instances.public BatchGetOnPremisesInstancesResult withInstanceInfos(InstanceInfo... instanceInfos)
Information about the on-premises instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceInfos(java.util.Collection) or withInstanceInfos(java.util.Collection) if you want
to override the existing values.
instanceInfos - Information about the on-premises instances.public BatchGetOnPremisesInstancesResult withInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
instanceInfos - Information about the on-premises instances.public String toString()
toString in class ObjectObject.toString()public BatchGetOnPremisesInstancesResult clone()