/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.private5g.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartNetworkResourceUpdateRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* 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. *
*/ private CommitmentConfiguration commitmentConfiguration; /** ** The Amazon Resource Name (ARN) of the network resource. *
*/ private String networkResourceArn; /** ** The reason for the return. Providing a reason for a return is optional. *
*/ private String returnReason; /** ** 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. *
*/ private Address shippingAddress; /** ** 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
.
*
* 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. *
* * @param 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. */ public void setCommitmentConfiguration(CommitmentConfiguration commitmentConfiguration) { this.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. *
* * @return 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. */ public CommitmentConfiguration getCommitmentConfiguration() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public StartNetworkResourceUpdateRequest withCommitmentConfiguration(CommitmentConfiguration commitmentConfiguration) { setCommitmentConfiguration(commitmentConfiguration); return this; } /** *
* The Amazon Resource Name (ARN) of the network resource. *
* * @param networkResourceArn * The Amazon Resource Name (ARN) of the network resource. */ public void setNetworkResourceArn(String networkResourceArn) { this.networkResourceArn = networkResourceArn; } /** ** The Amazon Resource Name (ARN) of the network resource. *
* * @return The Amazon Resource Name (ARN) of the network resource. */ public String getNetworkResourceArn() { return this.networkResourceArn; } /** ** The Amazon Resource Name (ARN) of the network resource. *
* * @param networkResourceArn * The Amazon Resource Name (ARN) of the network resource. * @return Returns a reference to this object so that method calls can be chained together. */ public StartNetworkResourceUpdateRequest withNetworkResourceArn(String networkResourceArn) { setNetworkResourceArn(networkResourceArn); return this; } /** ** The reason for the return. Providing a reason for a return is optional. *
* * @param returnReason * The reason for the return. Providing a reason for a return is optional. */ public void setReturnReason(String returnReason) { this.returnReason = returnReason; } /** ** The reason for the return. Providing a reason for a return is optional. *
* * @return The reason for the return. Providing a reason for a return is optional. */ public String getReturnReason() { return this.returnReason; } /** ** The reason for the return. Providing a reason for a return is optional. *
* * @param returnReason * The reason for the return. Providing a reason for a return is optional. * @return Returns a reference to this object so that method calls can be chained together. */ public StartNetworkResourceUpdateRequest withReturnReason(String returnReason) { setReturnReason(returnReason); return this; } /** ** 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. *
* * @param 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. */ public void setShippingAddress(Address shippingAddress) { this.shippingAddress = 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. *
* * @return 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. */ public Address getShippingAddress() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public StartNetworkResourceUpdateRequest withShippingAddress(Address shippingAddress) { setShippingAddress(shippingAddress); return this; } /** ** 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*