|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.License
public class License
A software license that can be associated with an Amazon EC2 instance when launched (ex. a Microsoft Windows license).
| Constructor Summary | |
|---|---|
License()
|
|
| Method Summary | |
|---|---|
List<LicenseCapacity> |
getCapacities()
The capacities available for this license, indicating how many licenses are in use, how many are available, how many Amazon EC2 instances can be supported, etc. |
String |
getLicenseId()
The unique ID identifying the license. |
String |
getPool()
The name of the pool in which the license is kept. |
String |
getType()
The license type (ex. |
void |
setCapacities(Collection<LicenseCapacity> capacities)
The capacities available for this license, indicating how many licenses are in use, how many are available, how many Amazon EC2 instances can be supported, etc. |
void |
setLicenseId(String licenseId)
The unique ID identifying the license. |
void |
setPool(String pool)
The name of the pool in which the license is kept. |
void |
setType(String type)
The license type (ex. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
License |
withCapacities(Collection<LicenseCapacity> capacities)
The capacities available for this license, indicating how many licenses are in use, how many are available, how many Amazon EC2 instances can be supported, etc. |
License |
withCapacities(LicenseCapacity... capacities)
The capacities available for this license, indicating how many licenses are in use, how many are available, how many Amazon EC2 instances can be supported, etc. |
License |
withLicenseId(String licenseId)
The unique ID identifying the license. |
License |
withPool(String pool)
The name of the pool in which the license is kept. |
License |
withType(String type)
The license type (ex. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public License()
| Method Detail |
|---|
public String getLicenseId()
public void setLicenseId(String licenseId)
licenseId - The unique ID identifying the license.public License withLicenseId(String licenseId)
Returns a reference to this object so that method calls can be chained together.
licenseId - The unique ID identifying the license.
public String getType()
public void setType(String type)
type - The license type (ex. "Microsoft/Windows/Standard").public License withType(String type)
Returns a reference to this object so that method calls can be chained together.
type - The license type (ex. "Microsoft/Windows/Standard").
public String getPool()
public void setPool(String pool)
pool - The name of the pool in which the license is kept.public License withPool(String pool)
Returns a reference to this object so that method calls can be chained together.
pool - The name of the pool in which the license is kept.
public List<LicenseCapacity> getCapacities()
public void setCapacities(Collection<LicenseCapacity> capacities)
capacities - The capacities available for this license, indicating how many
licenses are in use, how many are available, how many Amazon EC2
instances can be supported, etc.public License withCapacities(LicenseCapacity... capacities)
Returns a reference to this object so that method calls can be chained together.
capacities - The capacities available for this license, indicating how many
licenses are in use, how many are available, how many Amazon EC2
instances can be supported, etc.
public License withCapacities(Collection<LicenseCapacity> capacities)
Returns a reference to this object so that method calls can be chained together.
capacities - The capacities available for this license, indicating how many
licenses are in use, how many are available, how many Amazon EC2
instances can be supported, etc.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||