/* * 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.gluedatabrew.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 an existing dataset to associate this project with. *
*/ private String datasetName; /** ** A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and * space. *
*/ private String name; /** ** The name of an existing recipe to associate with the project. *
*/ private String recipeName; private Sample sample; /** ** The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request. *
*/ private String roleArn; /** ** Metadata tags to apply to this project. *
*/ private java.util.Map* The name of an existing dataset to associate this project with. *
* * @param datasetName * The name of an existing dataset to associate this project with. */ public void setDatasetName(String datasetName) { this.datasetName = datasetName; } /** ** The name of an existing dataset to associate this project with. *
* * @return The name of an existing dataset to associate this project with. */ public String getDatasetName() { return this.datasetName; } /** ** The name of an existing dataset to associate this project with. *
* * @param datasetName * The name of an existing dataset to associate this project with. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withDatasetName(String datasetName) { setDatasetName(datasetName); return this; } /** ** A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and * space. *
* * @param name * A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period * (.), and space. */ public void setName(String name) { this.name = name; } /** ** A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and * space. *
* * @return A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period * (.), and space. */ public String getName() { return this.name; } /** ** A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and * space. *
* * @param name * A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period * (.), and space. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withName(String name) { setName(name); return this; } /** ** The name of an existing recipe to associate with the project. *
* * @param recipeName * The name of an existing recipe to associate with the project. */ public void setRecipeName(String recipeName) { this.recipeName = recipeName; } /** ** The name of an existing recipe to associate with the project. *
* * @return The name of an existing recipe to associate with the project. */ public String getRecipeName() { return this.recipeName; } /** ** The name of an existing recipe to associate with the project. *
* * @param recipeName * The name of an existing recipe to associate with the project. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withRecipeName(String recipeName) { setRecipeName(recipeName); return this; } /** * @param sample */ public void setSample(Sample sample) { this.sample = sample; } /** * @return */ public Sample getSample() { return this.sample; } /** * @param sample * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withSample(Sample sample) { setSample(sample); return this; } /** ** The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request. *
* * @param roleArn * The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this * request. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request. *
* * @return The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this * request. */ public String getRoleArn() { return this.roleArn; } /** ** The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request. *
* * @param roleArn * The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this * request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** Metadata tags to apply to this project. *
* * @return Metadata tags to apply to this project. */ public java.util.Map* Metadata tags to apply to this project. *
* * @param tags * Metadata tags to apply to this project. */ public void setTags(java.util.Map* Metadata tags to apply to this project. *
* * @param tags * Metadata tags to apply to this project. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProjectRequest withTags(java.util.Map