@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommitmentInformation extends Object implements Serializable, Cloneable, StructuredPojo
Shows the duration, the date and time that the contract started and ends, and the renewal status of the commitment period for the radio unit.
Constructor and Description |
---|
CommitmentInformation() |
Modifier and Type | Method and Description |
---|---|
CommitmentInformation |
clone() |
boolean |
equals(Object obj) |
CommitmentConfiguration |
getCommitmentConfiguration()
The duration and renewal status of the commitment period for the radio unit.
|
Date |
getExpiresOn()
The date and time that the commitment period ends.
|
Date |
getStartAt()
The date and time that the commitment period started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommitmentConfiguration(CommitmentConfiguration commitmentConfiguration)
The duration and renewal status of the commitment period for the radio unit.
|
void |
setExpiresOn(Date expiresOn)
The date and time that the commitment period ends.
|
void |
setStartAt(Date startAt)
The date and time that the commitment period started.
|
String |
toString()
Returns a string representation of this object.
|
CommitmentInformation |
withCommitmentConfiguration(CommitmentConfiguration commitmentConfiguration)
The duration and renewal status of the commitment period for the radio unit.
|
CommitmentInformation |
withExpiresOn(Date expiresOn)
The date and time that the commitment period ends.
|
CommitmentInformation |
withStartAt(Date startAt)
The date and time that the commitment period started.
|
public void setCommitmentConfiguration(CommitmentConfiguration commitmentConfiguration)
The duration and renewal status of the commitment period for the radio unit.
commitmentConfiguration
- The duration and renewal status of the commitment period for the radio unit.public CommitmentConfiguration getCommitmentConfiguration()
The duration and renewal status of the commitment period for the radio unit.
public CommitmentInformation withCommitmentConfiguration(CommitmentConfiguration commitmentConfiguration)
The duration and renewal status of the commitment period for the radio unit.
commitmentConfiguration
- The duration and renewal status of the commitment period for the radio unit.public void setExpiresOn(Date expiresOn)
The date and time that the commitment period ends. If you do not cancel or renew the commitment before the expiration date, you will be billed at the 60-day-commitment rate.
expiresOn
- The date and time that the commitment period ends. If you do not cancel or renew the commitment before the
expiration date, you will be billed at the 60-day-commitment rate.public Date getExpiresOn()
The date and time that the commitment period ends. If you do not cancel or renew the commitment before the expiration date, you will be billed at the 60-day-commitment rate.
public CommitmentInformation withExpiresOn(Date expiresOn)
The date and time that the commitment period ends. If you do not cancel or renew the commitment before the expiration date, you will be billed at the 60-day-commitment rate.
expiresOn
- The date and time that the commitment period ends. If you do not cancel or renew the commitment before the
expiration date, you will be billed at the 60-day-commitment rate.public void setStartAt(Date startAt)
The date and time that the commitment period started.
startAt
- The date and time that the commitment period started.public Date getStartAt()
The date and time that the commitment period started.
public CommitmentInformation withStartAt(Date startAt)
The date and time that the commitment period started.
startAt
- The date and time that the commitment period started.public String toString()
toString
in class Object
Object.toString()
public CommitmentInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.