/* * 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: *

* *

* 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. *

* */ private String updateType; /** *

* Use this action to extend and automatically renew the commitment period for the radio unit. You can do the * following: *

* *

* 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:

* *

* 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: *

* *

* 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:

* *

* 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: *

* *

* 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:

* *

* 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. *

* * * @param updateType * The update type.

*