Interface CommitmentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CommitmentConfiguration.Builder,CommitmentConfiguration>,SdkBuilder<CommitmentConfiguration.Builder,CommitmentConfiguration>,SdkPojo
- Enclosing class:
- CommitmentConfiguration
public static interface CommitmentConfiguration.Builder extends SdkPojo, CopyableBuilder<CommitmentConfiguration.Builder,CommitmentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitmentConfiguration.BuilderautomaticRenewal(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.BuildercommitmentLength(String commitmentLength)The duration of the commitment period for the radio unit.CommitmentConfiguration.BuildercommitmentLength(CommitmentLength commitmentLength)The duration of the commitment period for the radio unit.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
automaticRenewal
CommitmentConfiguration.Builder automaticRenewal(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 toFalseif 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.
- Parameters:
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 toFalseif 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
commitmentLength
CommitmentConfiguration.Builder commitmentLength(String commitmentLength)
The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.
- Parameters:
commitmentLength- The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CommitmentLength,CommitmentLength
-
commitmentLength
CommitmentConfiguration.Builder commitmentLength(CommitmentLength commitmentLength)
The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.
- Parameters:
commitmentLength- The duration of the commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CommitmentLength,CommitmentLength
-
-