public class LicenseCapacity
extends java.lang.Object
implements java.io.Serializable
Represents the capacity that a license is able to support.
| コンストラクタと説明 |
|---|
LicenseCapacity() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCapacity()
The number of licenses available.
|
java.util.Date |
getEarliestAllowedDeactivationTime()
The earliest allowed time at which a license can be deactivated.
|
java.lang.Integer |
getInstanceCapacity()
The number of Amazon EC2 instances that can be supported with the
license's capacity.
|
java.lang.String |
getState()
The state of this license capacity, indicating whether the license is
actively being used or not.
|
int |
hashCode() |
void |
setCapacity(java.lang.Integer capacity)
The number of licenses available.
|
void |
setEarliestAllowedDeactivationTime(java.util.Date earliestAllowedDeactivationTime)
The earliest allowed time at which a license can be deactivated.
|
void |
setInstanceCapacity(java.lang.Integer instanceCapacity)
The number of Amazon EC2 instances that can be supported with the
license's capacity.
|
void |
setState(java.lang.String state)
The state of this license capacity, indicating whether the license is
actively being used or not.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LicenseCapacity |
withCapacity(java.lang.Integer capacity)
The number of licenses available.
|
LicenseCapacity |
withEarliestAllowedDeactivationTime(java.util.Date earliestAllowedDeactivationTime)
The earliest allowed time at which a license can be deactivated.
|
LicenseCapacity |
withInstanceCapacity(java.lang.Integer instanceCapacity)
The number of Amazon EC2 instances that can be supported with the
license's capacity.
|
LicenseCapacity |
withState(java.lang.String state)
The state of this license capacity, indicating whether the license is
actively being used or not.
|
public java.lang.Integer getCapacity()
public void setCapacity(java.lang.Integer capacity)
capacity - The number of licenses available.public LicenseCapacity withCapacity(java.lang.Integer capacity)
Returns a reference to this object so that method calls can be chained together.
capacity - The number of licenses available.public java.lang.Integer getInstanceCapacity()
public void setInstanceCapacity(java.lang.Integer instanceCapacity)
instanceCapacity - The number of Amazon EC2 instances that can be supported with the
license's capacity.public LicenseCapacity withInstanceCapacity(java.lang.Integer instanceCapacity)
Returns a reference to this object so that method calls can be chained together.
instanceCapacity - The number of Amazon EC2 instances that can be supported with the
license's capacity.public java.lang.String getState()
public void setState(java.lang.String state)
state - The state of this license capacity, indicating whether the license is
actively being used or not.public LicenseCapacity withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
state - The state of this license capacity, indicating whether the license is
actively being used or not.public java.util.Date getEarliestAllowedDeactivationTime()
public void setEarliestAllowedDeactivationTime(java.util.Date earliestAllowedDeactivationTime)
earliestAllowedDeactivationTime - The earliest allowed time at which a license can be deactivated. Some
licenses have time restrictions on when they can be activated and
reactivated.public LicenseCapacity withEarliestAllowedDeactivationTime(java.util.Date earliestAllowedDeactivationTime)
Returns a reference to this object so that method calls can be chained together.
earliestAllowedDeactivationTime - The earliest allowed time at which a license can be deactivated. Some
licenses have time restrictions on when they can be activated and
reactivated.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