Interface StartNetworkResourceUpdateRequest.Builder

    • 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 the CommitmentConfiguration.Builder avoiding the need to create one manually via CommitmentConfiguration.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to commitmentConfiguration(CommitmentConfiguration).

        Parameters:
        commitmentConfiguration - a consumer that will call methods on CommitmentConfiguration.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.
      • 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 set commitmentConfiguration .

        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 set commitmentConfiguration .

        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 set commitmentConfiguration .

        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 set commitmentConfiguration .

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UpdateType, UpdateType