public class InstanceLicenseSpecification
extends java.lang.Object
implements java.io.Serializable
Part of a request to launch Amazon EC2 instances, specifying which license pool to use if a license should be attached to the new Amazon EC2 instance.
| コンストラクタと説明 |
|---|
InstanceLicenseSpecification() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPool()
The license pool from which to take a license when starting Amazon EC2
instances in the associated
RunInstances request. |
int |
hashCode() |
void |
setPool(java.lang.String pool)
The license pool from which to take a license when starting Amazon EC2
instances in the associated
RunInstances request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceLicenseSpecification |
withPool(java.lang.String pool)
The license pool from which to take a license when starting Amazon EC2
instances in the associated
RunInstances request. |
public java.lang.String getPool()
RunInstances request.RunInstances request.public void setPool(java.lang.String pool)
RunInstances request.pool - The license pool from which to take a license when starting Amazon EC2
instances in the associated RunInstances request.public InstanceLicenseSpecification withPool(java.lang.String pool)
RunInstances request.
Returns a reference to this object so that method calls can be chained together.
pool - The license pool from which to take a license when starting Amazon EC2
instances in the associated RunInstances request.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