@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDeviceEc2InstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDeviceEc2InstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDeviceEc2InstancesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceSummary> |
getInstances()
A list of structures containing information about each instance.
|
int |
hashCode() |
void |
setInstances(Collection<InstanceSummary> instances)
A list of structures containing information about each instance.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDeviceEc2InstancesResult |
withInstances(Collection<InstanceSummary> instances)
A list of structures containing information about each instance.
|
DescribeDeviceEc2InstancesResult |
withInstances(InstanceSummary... instances)
A list of structures containing information about each instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceSummary> getInstances()
A list of structures containing information about each instance.
public void setInstances(Collection<InstanceSummary> instances)
A list of structures containing information about each instance.
instances
- A list of structures containing information about each instance.public DescribeDeviceEc2InstancesResult withInstances(InstanceSummary... instances)
A list of structures containing information about each instance.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- A list of structures containing information about each instance.public DescribeDeviceEc2InstancesResult withInstances(Collection<InstanceSummary> instances)
A list of structures containing information about each instance.
instances
- A list of structures containing information about each instance.public String toString()
toString
in class Object
Object.toString()
public DescribeDeviceEc2InstancesResult clone()