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