@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RunInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RunInstancesResult() |
Modifier and Type | Method and Description |
---|---|
RunInstancesResult |
clone() |
boolean |
equals(Object obj) |
Reservation |
getReservation()
Describes a launch request for one or more instances, and includes owner, requester, and security group
information that applies to all instances in the launch request.
|
int |
hashCode() |
void |
setReservation(Reservation reservation)
Describes a launch request for one or more instances, and includes owner, requester, and security group
information that applies to all instances in the launch request.
|
String |
toString()
Returns a string representation of this object.
|
RunInstancesResult |
withReservation(Reservation reservation)
Describes a launch request for one or more instances, and includes owner, requester, and security group
information that applies to all instances in the launch request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setReservation(Reservation reservation)
Describes a launch request for one or more instances, and includes owner, requester, and security group information that applies to all instances in the launch request.
reservation
- Describes a launch request for one or more instances, and includes owner, requester, and security group
information that applies to all instances in the launch request.public Reservation getReservation()
Describes a launch request for one or more instances, and includes owner, requester, and security group information that applies to all instances in the launch request.
public RunInstancesResult withReservation(Reservation reservation)
Describes a launch request for one or more instances, and includes owner, requester, and security group information that applies to all instances in the launch request.
reservation
- Describes a launch request for one or more instances, and includes owner, requester, and security group
information that applies to all instances in the launch request.public String toString()
toString
in class Object
Object.toString()
public RunInstancesResult clone()