public class ActivateLicenseRequest extends AmazonWebServiceRequest implements java.io.Serializable
ActivateLicense operation.
Activates a specific number of licenses for a 90-day period. Activations can be done against a specific license ID.
| コンストラクタと説明 |
|---|
ActivateLicenseRequest()
Default constructor for a new ActivateLicenseRequest object.
|
ActivateLicenseRequest(java.lang.String licenseId,
java.lang.Integer capacity)
Constructs a new ActivateLicenseRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCapacity()
Specifies the additional number of licenses to activate.
|
java.lang.String |
getLicenseId()
Specifies the ID for the specific license to activate against.
|
int |
hashCode() |
void |
setCapacity(java.lang.Integer capacity)
Specifies the additional number of licenses to activate.
|
void |
setLicenseId(java.lang.String licenseId)
Specifies the ID for the specific license to activate against.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivateLicenseRequest |
withCapacity(java.lang.Integer capacity)
Specifies the additional number of licenses to activate.
|
ActivateLicenseRequest |
withLicenseId(java.lang.String licenseId)
Specifies the ID for the specific license to activate against.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ActivateLicenseRequest()
public ActivateLicenseRequest(java.lang.String licenseId,
java.lang.Integer capacity)
licenseId - Specifies the ID for the specific license to activate
against.capacity - Specifies the additional number of licenses to
activate.public java.lang.String getLicenseId()
public void setLicenseId(java.lang.String licenseId)
licenseId - Specifies the ID for the specific license to activate against.public ActivateLicenseRequest withLicenseId(java.lang.String licenseId)
Returns a reference to this object so that method calls can be chained together.
licenseId - Specifies the ID for the specific license to activate against.public java.lang.Integer getCapacity()
public void setCapacity(java.lang.Integer capacity)
capacity - Specifies the additional number of licenses to activate.public ActivateLicenseRequest withCapacity(java.lang.Integer capacity)
Returns a reference to this object so that method calls can be chained together.
capacity - Specifies the additional number of licenses to activate.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