/* * 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.sagemaker.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 UpdateProjectRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the project. *
*/ private String projectName; /** ** The description for the project. *
*/ private String projectDescription; /** ** The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will * default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. * For more information, see What is Amazon Web Services * Service Catalog. *
*/ private ServiceCatalogProvisioningUpdateDetails serviceCatalogProvisioningUpdateDetails; /** ** An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, * for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. * In addition, the project must have tag update constraints set in order to include this parameter in the request. * For more information, see Amazon Web * Services Service Catalog Tag Update Constraints. *
*/ private java.util.List* The name of the project. *
* * @param projectName * The name of the project. */ public void setProjectName(String projectName) { this.projectName = projectName; } /** ** The name of the project. *
* * @return The name of the project. */ public String getProjectName() { return this.projectName; } /** ** The name of the project. *
* * @param projectName * The name of the project. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateProjectRequest withProjectName(String projectName) { setProjectName(projectName); return this; } /** ** The description for the project. *
* * @param projectDescription * The description for the project. */ public void setProjectDescription(String projectDescription) { this.projectDescription = projectDescription; } /** ** The description for the project. *
* * @return The description for the project. */ public String getProjectDescription() { return this.projectDescription; } /** ** The description for the project. *
* * @param projectDescription * The description for the project. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateProjectRequest withProjectDescription(String projectDescription) { setProjectDescription(projectDescription); return this; } /** ** The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will * default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. * For more information, see What is Amazon Web Services * Service Catalog. *
* * @param serviceCatalogProvisioningUpdateDetails * The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID * will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning * artifact ID. For more information, see What is Amazon Web * Services Service Catalog. */ public void setServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails serviceCatalogProvisioningUpdateDetails) { this.serviceCatalogProvisioningUpdateDetails = serviceCatalogProvisioningUpdateDetails; } /** ** The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will * default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. * For more information, see What is Amazon Web Services * Service Catalog. *
* * @return The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID * will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning * artifact ID. For more information, see What is Amazon Web * Services Service Catalog. */ public ServiceCatalogProvisioningUpdateDetails getServiceCatalogProvisioningUpdateDetails() { return this.serviceCatalogProvisioningUpdateDetails; } /** ** The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will * default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. * For more information, see What is Amazon Web Services * Service Catalog. *
* * @param serviceCatalogProvisioningUpdateDetails * The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID * will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning * artifact ID. For more information, see What is Amazon Web * Services Service Catalog. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateProjectRequest withServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails serviceCatalogProvisioningUpdateDetails) { setServiceCatalogProvisioningUpdateDetails(serviceCatalogProvisioningUpdateDetails); return this; } /** ** An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, * for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. * In addition, the project must have tag update constraints set in order to include this parameter in the request. * For more information, see Amazon Web * Services Service Catalog Tag Update Constraints. *
* * @return An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in * different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services * Resources. In addition, the project must have tag update constraints set in order to include this * parameter in the request. For more information, see Amazon Web Services Service Catalog Tag Update Constraints. */ public java.util.List* An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, * for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. * In addition, the project must have tag update constraints set in order to include this parameter in the request. * For more information, see Amazon Web * Services Service Catalog Tag Update Constraints. *
* * @param tags * An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in * different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services * Resources. In addition, the project must have tag update constraints set in order to include this * parameter in the request. For more information, see Amazon * Web Services Service Catalog Tag Update Constraints. */ public void setTags(java.util.Collection* An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, * for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. * In addition, the project must have tag update constraints set in order to include this parameter in the request. * For more information, see Amazon Web * Services Service Catalog Tag Update Constraints. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in * different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services * Resources. In addition, the project must have tag update constraints set in order to include this * parameter in the request. For more information, see Amazon * Web Services Service Catalog Tag Update Constraints. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateProjectRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, * for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. * In addition, the project must have tag update constraints set in order to include this parameter in the request. * For more information, see Amazon Web * Services Service Catalog Tag Update Constraints. *
* * @param tags * An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in * different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services * Resources. In addition, the project must have tag update constraints set in order to include this * parameter in the request. For more information, see Amazon * Web Services Service Catalog Tag Update Constraints. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateProjectRequest withTags(java.util.Collection