public class InstanceLicense
extends java.lang.Object
implements java.io.Serializable
Represents an active license in use and attached to an Amazon EC2 instance.
| コンストラクタと説明 |
|---|
InstanceLicense() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPool()
The license pool from which this license was used (ex:
'windows'). |
int |
hashCode() |
void |
setPool(java.lang.String pool)
The license pool from which this license was used (ex:
'windows'). |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceLicense |
withPool(java.lang.String pool)
The license pool from which this license was used (ex:
'windows'). |
public java.lang.String getPool()
'windows').'windows').public void setPool(java.lang.String pool)
'windows').pool - The license pool from which this license was used (ex:
'windows').public InstanceLicense withPool(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object