|
Did this page help you?Yes No Tell us about it... |
||||||
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(java.lang.Object obj)
|
java.util.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. |
java.lang.String |
getLicenseId()
The unique ID identifying the license. |
java.lang.String |
getPool()
The name of the pool in which the license is kept. |
java.util.List<Tag> |
getTags()
A list of tags for the License. |
java.lang.String |
getType()
The license type (ex. |
int |
hashCode()
|
void |
setCapacities(java.util.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(java.lang.String licenseId)
The unique ID identifying the license. |
void |
setPool(java.lang.String pool)
The name of the pool in which the license is kept. |
void |
setTags(java.util.Collection<Tag> tags)
A list of tags for the License. |
void |
setType(java.lang.String type)
The license type (ex. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
License |
withCapacities(java.util.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(java.lang.String licenseId)
The unique ID identifying the license. |
License |
withPool(java.lang.String pool)
The name of the pool in which the license is kept. |
License |
withTags(java.util.Collection<Tag> tags)
A list of tags for the License. |
License |
withTags(Tag... tags)
A list of tags for the License. |
License |
withType(java.lang.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 java.lang.String getLicenseId()
public void setLicenseId(java.lang.String licenseId)
licenseId
- The unique ID identifying the license.public License withLicenseId(java.lang.String licenseId)
Returns a reference to this object so that method calls can be chained together.
licenseId
- The unique ID identifying the license.
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The license type (ex. "Microsoft/Windows/Standard").public License withType(java.lang.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 java.lang.String getPool()
public void setPool(java.lang.String pool)
pool
- The name of the pool in which the license is kept.public License withPool(java.lang.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 java.util.List<LicenseCapacity> getCapacities()
public void setCapacities(java.util.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(java.util.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 java.util.List<Tag> getTags()
public void setTags(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |