Interface CommitmentInformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CommitmentInformation.Builder,CommitmentInformation>,SdkBuilder<CommitmentInformation.Builder,CommitmentInformation>,SdkPojo
- Enclosing class:
- CommitmentInformation
public static interface CommitmentInformation.Builder extends SdkPojo, CopyableBuilder<CommitmentInformation.Builder,CommitmentInformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CommitmentInformation.BuildercommitmentConfiguration(Consumer<CommitmentConfiguration.Builder> commitmentConfiguration)The duration and renewal status of the commitment period for the radio unit.CommitmentInformation.BuildercommitmentConfiguration(CommitmentConfiguration commitmentConfiguration)The duration and renewal status of the commitment period for the radio unit.CommitmentInformation.BuilderexpiresOn(Instant expiresOn)The date and time that the commitment period ends.CommitmentInformation.BuilderstartAt(Instant startAt)The date and time that the commitment period started.-
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
-
commitmentConfiguration
CommitmentInformation.Builder commitmentConfiguration(CommitmentConfiguration commitmentConfiguration)
The duration and renewal status of the commitment period for the radio unit.
- Parameters:
commitmentConfiguration- The duration and renewal status of the commitment period for the radio unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentConfiguration
default CommitmentInformation.Builder commitmentConfiguration(Consumer<CommitmentConfiguration.Builder> commitmentConfiguration)
The duration and renewal status of the commitment period for the radio unit.
This is a convenience method that creates an instance of theCommitmentConfiguration.Builderavoiding the need to create one manually viaCommitmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommitmentConfiguration(CommitmentConfiguration).- Parameters:
commitmentConfiguration- a consumer that will call methods onCommitmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
commitmentConfiguration(CommitmentConfiguration)
-
expiresOn
CommitmentInformation.Builder expiresOn(Instant 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startAt
CommitmentInformation.Builder startAt(Instant startAt)
The date and time that the commitment period started.
- Parameters:
startAt- The date and time that the commitment period started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-