|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceLicenseSpecification
public class InstanceLicenseSpecification
Part of a request to launch Amazon EC2 instances, specifying which license pool to use if a license should be attached to the new Amazon EC2 instance.
Constructor Summary | |
---|---|
InstanceLicenseSpecification()
|
Method Summary | |
---|---|
String |
getPool()
The license pool from which to take a license when starting Amazon EC2 instances in the associated RunInstances request. |
void |
setPool(String pool)
The license pool from which to take a license when starting Amazon EC2 instances in the associated RunInstances request. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceLicenseSpecification |
withPool(String pool)
The license pool from which to take a license when starting Amazon EC2 instances in the associated RunInstances request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceLicenseSpecification()
Method Detail |
---|
public String getPool()
RunInstances
request.
RunInstances
request.public void setPool(String pool)
RunInstances
request.
pool
- The license pool from which to take a license when starting Amazon EC2
instances in the associated RunInstances
request.public InstanceLicenseSpecification withPool(String pool)
RunInstances
request.
Returns a reference to this object so that method calls can be chained together.
pool
- The license pool from which to take a license when starting Amazon EC2
instances in the associated RunInstances
request.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |