Interface StartNetworkResourceUpdateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartNetworkResourceUpdateRequest.Builder,StartNetworkResourceUpdateRequest>,PrivateNetworksRequest.Builder,SdkBuilder<StartNetworkResourceUpdateRequest.Builder,StartNetworkResourceUpdateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartNetworkResourceUpdateRequest
public static interface StartNetworkResourceUpdateRequest.Builder extends PrivateNetworksRequest.Builder, SdkPojo, CopyableBuilder<StartNetworkResourceUpdateRequest.Builder,StartNetworkResourceUpdateRequest>
-
-
Method Summary
-
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 Detail
-
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.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)
-
-
networkResourceArn
StartNetworkResourceUpdateRequest.Builder networkResourceArn(String 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
StartNetworkResourceUpdateRequest.Builder returnReason(String 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
StartNetworkResourceUpdateRequest.Builder shippingAddress(Address 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.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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:
shippingAddress(Address)
-
updateType
StartNetworkResourceUpdateRequest.Builder updateType(String 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,UpdateType
-
-
updateType
StartNetworkResourceUpdateRequest.Builder updateType(UpdateType 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,UpdateType
-
-
overrideConfiguration
StartNetworkResourceUpdateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartNetworkResourceUpdateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-