Class BatchGetOnPremisesInstancesResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.BatchGetOnPremisesInstancesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class BatchGetOnPremisesInstancesResult extends Object implements Serializable, Cloneable
Represents the output of a batch get on-premises instances operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchGetOnPremisesInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.BatchGetOnPremisesInstancesResult
withInstanceInfos(InstanceInfo... instanceInfos)
Information about the on-premises instances.BatchGetOnPremisesInstancesResult
withInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
-
-
-
Method Detail
-
getInstanceInfos
public List<InstanceInfo> getInstanceInfos()
Information about the on-premises instances.
- Returns:
- Information about the on-premises instances.
-
setInstanceInfos
public void setInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
- Parameters:
instanceInfos
- Information about the on-premises instances.
-
withInstanceInfos
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)
orwithInstanceInfos(java.util.Collection)
if you want to override the existing values.- Parameters:
instanceInfos
- Information about the on-premises instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceInfos
public BatchGetOnPremisesInstancesResult withInstanceInfos(Collection<InstanceInfo> instanceInfos)
Information about the on-premises instances.
- Parameters:
instanceInfos
- Information about the on-premises instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchGetOnPremisesInstancesResult clone()
-
-