Interface StartNetworkResourceUpdateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartNetworkResourceUpdateRequest.Builder,
,StartNetworkResourceUpdateRequest> PrivateNetworksRequest.Builder
,SdkBuilder<StartNetworkResourceUpdateRequest.Builder,
,StartNetworkResourceUpdateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartNetworkResourceUpdateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncommitmentConfiguration
(Consumer<CommitmentConfiguration.Builder> commitmentConfiguration) Use this action to extend and automatically renew the commitment period for the radio unit.commitmentConfiguration
(CommitmentConfiguration commitmentConfiguration) Use this action to extend and automatically renew the commitment period for the radio unit.networkResourceArn
(String networkResourceArn) The Amazon Resource Name (ARN) of the network resource.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.returnReason
(String returnReason) The reason for the return.shippingAddress
(Consumer<Address.Builder> shippingAddress) The shipping address.shippingAddress
(Address shippingAddress) The shipping address.updateType
(String updateType) The update type.updateType
(UpdateType updateType) The update type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.privatenetworks.model.PrivateNetworksRequest.Builder
build
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
StartNetworkResourceUpdateRequest.Builder commitmentConfiguration(CommitmentConfiguration commitmentConfiguration) Use this action to extend and automatically renew the commitment period for the radio unit. You can do the following:
-
Change a 60-day commitment to a 1-year or 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the new commitment period.
-
Change a 1-year commitment to a 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the 3-year commitment period.
-
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.
For pricing, see Amazon Web Services Private 5G Pricing.
- Parameters:
commitmentConfiguration
- Use this action to extend and automatically renew the commitment period for the radio unit. You can do the following:-
Change a 60-day commitment to a 1-year or 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the new commitment period.
-
Change a 1-year commitment to a 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the 3-year commitment period.
-
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.
For pricing, see Amazon Web Services Private 5G Pricing.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
commitmentConfiguration
default StartNetworkResourceUpdateRequest.Builder commitmentConfiguration(Consumer<CommitmentConfiguration.Builder> commitmentConfiguration) Use this action to extend and automatically renew the commitment period for the radio unit. You can do the following:
-
Change a 60-day commitment to a 1-year or 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the new commitment period.
-
Change a 1-year commitment to a 3-year commitment. The change is immediate and the hourly rate decreases to the rate for the 3-year commitment period.
-
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.
For pricing, see Amazon Web Services Private 5G Pricing.
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:
-
-
networkResourceArn
The Amazon Resource Name (ARN) of the network resource.
- Parameters:
networkResourceArn
- The Amazon Resource Name (ARN) of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnReason
The reason for the return. Providing a reason for a return is optional.
- Parameters:
returnReason
- The reason for the return. Providing a reason for a return is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingAddress
The shipping address. If you don't provide a shipping address when replacing or returning a network resource, we use the address from the original order for the network resource.
- Parameters:
shippingAddress
- The shipping address. If you don't provide a shipping address when replacing or returning a network resource, we use the address from the original order for the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingAddress
default StartNetworkResourceUpdateRequest.Builder shippingAddress(Consumer<Address.Builder> shippingAddress) The shipping address. If you don't provide a shipping address when replacing or returning a network resource, we use the address from the original order for the network resource.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshippingAddress(Address)
.- Parameters:
shippingAddress
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateType
The update type.
-
REPLACE
- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN
- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT
- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration
.
- Parameters:
updateType
- The update type.-
REPLACE
- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN
- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT
- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
updateType
The update type.
-
REPLACE
- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN
- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT
- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration
.
- Parameters:
updateType
- The update type.-
REPLACE
- Submits a request to replace a defective radio unit. We provide a shipping label that you can use for the return process and we ship a replacement radio unit to you. -
RETURN
- Submits a request to return a radio unit that you no longer need. We provide a shipping label that you can use for the return process. -
COMMITMENT
- Submits a request to change or renew the commitment period. If you choose this value, then you must setcommitmentConfiguration
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
StartNetworkResourceUpdateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartNetworkResourceUpdateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-