|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceLicense
public class InstanceLicense
Represents an active license in use and attached to an Amazon EC2 instance.
Constructor Summary | |
---|---|
InstanceLicense()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPool()
The license pool from which this license was used (ex: 'windows' ). |
int |
hashCode()
|
void |
setPool(String pool)
The license pool from which this license was used (ex: 'windows' ). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceLicense |
withPool(String pool)
The license pool from which this license was used (ex: 'windows' ). |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceLicense()
Method Detail |
---|
public String getPool()
'windows'
).
'windows'
).public void setPool(String pool)
'windows'
).
pool
- The license pool from which this license was used (ex:
'windows'
).public InstanceLicense withPool(String pool)
'windows'
).
Returns a reference to this object so that method calls can be chained together.
pool
- The license pool from which this license was used (ex:
'windows'
).
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |