public class BatchGetOnPremisesInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a batch get on-premises instances operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InstanceInfo> |
instanceInfos
Information about the on-premises instances.
|
Constructor and Description |
---|
BatchGetOnPremisesInstancesResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetOnPremisesInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceInfo> |
getInstanceInfos()
Information about the on-premises instances.
|
int |
hashCode() |
void |
setInstanceInfos(java.util.Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetOnPremisesInstancesResult |
withInstanceInfos(java.util.Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
|
BatchGetOnPremisesInstancesResult |
withInstanceInfos(InstanceInfo... instanceInfos)
Information about the on-premises instances.
|
private SdkInternalList<InstanceInfo> instanceInfos
Information about the on-premises instances.
public java.util.List<InstanceInfo> getInstanceInfos()
Information about the on-premises instances.
public void setInstanceInfos(java.util.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(java.util.Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
instanceInfos
- Information about the on-premises instances.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 BatchGetOnPremisesInstancesResult clone()
clone
in class java.lang.Object