/* * 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 CreateProjectRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the project. *
*/ private String projectName; /** ** A 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 ServiceCatalogProvisioningDetails serviceCatalogProvisioningDetails; /** ** An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. * For more information, see Tagging Amazon * Web Services resources in the Amazon Web Services General Reference Guide. *
*/ 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 CreateProjectRequest withProjectName(String projectName) { setProjectName(projectName); return this; } /** ** A description for the project. *
* * @param projectDescription * A description for the project. */ public void setProjectDescription(String projectDescription) { this.projectDescription = projectDescription; } /** ** A description for the project. *
* * @return A description for the project. */ public String getProjectDescription() { return this.projectDescription; } /** ** A description for the project. *
* * @param projectDescription * A description for the project. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest 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 serviceCatalogProvisioningDetails * 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 setServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails serviceCatalogProvisioningDetails) { this.serviceCatalogProvisioningDetails = serviceCatalogProvisioningDetails; } /** ** 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 ServiceCatalogProvisioningDetails getServiceCatalogProvisioningDetails() { return this.serviceCatalogProvisioningDetails; } /** ** 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 serviceCatalogProvisioningDetails * 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 CreateProjectRequest withServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails serviceCatalogProvisioningDetails) { setServiceCatalogProvisioningDetails(serviceCatalogProvisioningDetails); return this; } /** ** An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. * For more information, see Tagging Amazon * Web Services resources in the Amazon Web Services General Reference Guide. *
* * @return An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource * costs. For more information, see Tagging Amazon Web Services * resources in the Amazon Web Services General Reference Guide. */ public java.util.List* An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. * For more information, see Tagging Amazon * Web Services resources in the Amazon Web Services General Reference Guide. *
* * @param tags * An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource * costs. For more information, see Tagging Amazon Web Services * resources in the Amazon Web Services General Reference Guide. */ public void setTags(java.util.Collection* An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. * For more information, see Tagging Amazon * Web Services resources in the Amazon Web Services General Reference Guide. *
** 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 that you want to use to organize and track your Amazon Web Services resource * costs. For more information, see Tagging Amazon Web Services * resources in the Amazon Web Services General Reference Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. * For more information, see Tagging Amazon * Web Services resources in the Amazon Web Services General Reference Guide. *
* * @param tags * An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource * costs. For more information, see Tagging Amazon Web Services * resources in the Amazon Web Services General Reference Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withTags(java.util.Collection