public class InstanceLicenseSpecification extends Object implements Serializable
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 and Description |
---|
InstanceLicenseSpecification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPool()
The license pool from which to take a license when starting Amazon EC2
instances in the associated
RunInstances request. |
int |
hashCode() |
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. |
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.