|
|||||||
| 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 | |
|---|---|
boolean |
equals(Object obj)
|
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. |
List<Tag> |
getTags()
A list of tags for the License. |
String |
getType()
The license type (ex. |
int |
hashCode()
|
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 |
setTags(Collection<Tag> tags)
A list of tags for the License. |
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 |
withTags(Collection<Tag> tags)
A list of tags for the License. |
License |
withTags(Tag... tags)
A list of tags for the License. |
License |
withType(String type)
The license type (ex. |
| Methods inherited from class java.lang.Object |
|---|
getClass, 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 List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags - A list of tags for the License.public License withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags - A list of tags for the License.
public License withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags - A list of tags for the License.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||