@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommitmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Determines the duration and renewal status of the commitment period for a radio unit.
For pricing, see Amazon Web Services Private 5G Pricing.
| Constructor and Description |
|---|
CommitmentConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CommitmentConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutomaticRenewal()
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year
after your current commitment period expires.
|
String |
getCommitmentLength()
The duration of the commitment period for the radio unit.
|
int |
hashCode() |
Boolean |
isAutomaticRenewal()
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year
after your current commitment period expires.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAutomaticRenewal(Boolean automaticRenewal)
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year
after your current commitment period expires.
|
void |
setCommitmentLength(String commitmentLength)
The duration of the commitment period for the radio unit.
|
String |
toString()
Returns a string representation of this object.
|
CommitmentConfiguration |
withAutomaticRenewal(Boolean automaticRenewal)
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year
after your current commitment period expires.
|
CommitmentConfiguration |
withCommitmentLength(CommitmentLength commitmentLength)
The duration of the commitment period for the radio unit.
|
CommitmentConfiguration |
withCommitmentLength(String commitmentLength)
The duration of the commitment period for the radio unit.
|
public void setAutomaticRenewal(Boolean automaticRenewal)
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year after your current commitment period expires.
Set to True, if you want your commitment period to automatically renew. Set to False if
you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
automaticRenewal - Determines whether the commitment period for a radio unit is set to automatically renew for an additional
1 year after your current commitment period expires.
Set to True, if you want your commitment period to automatically renew. Set to
False if you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
public Boolean getAutomaticRenewal()
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year after your current commitment period expires.
Set to True, if you want your commitment period to automatically renew. Set to False if
you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
Set to True, if you want your commitment period to automatically renew. Set to
False if you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
public CommitmentConfiguration withAutomaticRenewal(Boolean automaticRenewal)
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year after your current commitment period expires.
Set to True, if you want your commitment period to automatically renew. Set to False if
you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
automaticRenewal - Determines whether the commitment period for a radio unit is set to automatically renew for an additional
1 year after your current commitment period expires.
Set to True, if you want your commitment period to automatically renew. Set to
False if you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
public Boolean isAutomaticRenewal()
Determines whether the commitment period for a radio unit is set to automatically renew for an additional 1 year after your current commitment period expires.
Set to True, if you want your commitment period to automatically renew. Set to False if
you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
Set to True, if you want your commitment period to automatically renew. Set to
False if you do not want your commitment to automatically renew.
You can do the following:
Set a 1-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 1-year rate.
Set a 3-year commitment to automatically renew for an additional 1 year. The hourly rate for the additional year will continue to be the same as your existing 3-year rate.
Turn off a previously-enabled automatic renewal on a 1-year or 3-year commitment.
You cannot use the automatic-renewal option for a 60-day commitment.
public void setCommitmentLength(String commitmentLength)
The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.
commitmentLength - The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year
period.CommitmentLengthpublic String getCommitmentLength()
The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.
CommitmentLengthpublic CommitmentConfiguration withCommitmentLength(String commitmentLength)
The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.
commitmentLength - The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year
period.CommitmentLengthpublic CommitmentConfiguration withCommitmentLength(CommitmentLength commitmentLength)
The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.
commitmentLength - The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year
period.CommitmentLengthpublic String toString()
toString in class ObjectObject.toString()public CommitmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.