@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateInstancesResult() |
Modifier and Type | Method and Description |
---|---|
CreateInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<Operation> |
getOperations()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
int |
hashCode() |
void |
setOperations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateInstancesResult |
withOperations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
CreateInstancesResult |
withOperations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Operation> getOperations()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
public void setOperations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public CreateInstancesResult withOperations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
NOTE: This method appends the values to the existing list (if any). Use
setOperations(java.util.Collection)
or withOperations(java.util.Collection)
if you want to
override the existing values.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public CreateInstancesResult withOperations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public String toString()
toString
in class Object
Object.toString()
public CreateInstancesResult clone()