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
Modifier and TypeMethodDescriptiondefault CommitmentInformation.Builder
commitmentConfiguration
(Consumer<CommitmentConfiguration.Builder> commitmentConfiguration) The duration and renewal status of the commitment period for the radio unit.commitmentConfiguration
(CommitmentConfiguration commitmentConfiguration) The duration and renewal status of the commitment period for the radio unit.The date and time that the commitment period ends.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 Details
-
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.Builder
avoiding the need to create one manually viaCommitmentConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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.
-