/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Represents one or more actions to be performed on a DataBrew dataset. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Recipe implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the user who created the recipe. *
*/ private String createdBy; /** ** The date and time that the recipe was created. *
*/ private java.util.Date createDate; /** ** The Amazon Resource Name (ARN) of the user who last modified the recipe. *
*/ private String lastModifiedBy; /** ** The last modification date and time of the recipe. *
*/ private java.util.Date lastModifiedDate; /** ** The name of the project that the recipe is associated with. *
*/ private String projectName; /** ** The Amazon Resource Name (ARN) of the user who published the recipe. *
*/ private String publishedBy; /** ** The date and time when the recipe was published. *
*/ private java.util.Date publishedDate; /** ** The description of the recipe. *
*/ private String description; /** ** The unique name for the recipe. *
*/ private String name; /** ** The Amazon Resource Name (ARN) for the recipe. *
*/ private String resourceArn; /** ** A list of steps that are defined by the recipe. *
*/ private java.util.List* Metadata tags that have been applied to the recipe. *
*/ private java.util.Map* The identifier for the version for the recipe. Must be one of the following: *
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version numbers.
* The maximum length of each is 6 digits, and neither can be negative values. Both X
and
* Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*
* The Amazon Resource Name (ARN) of the user who created the recipe. *
* * @param createdBy * The Amazon Resource Name (ARN) of the user who created the recipe. */ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } /** ** The Amazon Resource Name (ARN) of the user who created the recipe. *
* * @return The Amazon Resource Name (ARN) of the user who created the recipe. */ public String getCreatedBy() { return this.createdBy; } /** ** The Amazon Resource Name (ARN) of the user who created the recipe. *
* * @param createdBy * The Amazon Resource Name (ARN) of the user who created the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withCreatedBy(String createdBy) { setCreatedBy(createdBy); return this; } /** ** The date and time that the recipe was created. *
* * @param createDate * The date and time that the recipe was created. */ public void setCreateDate(java.util.Date createDate) { this.createDate = createDate; } /** ** The date and time that the recipe was created. *
* * @return The date and time that the recipe was created. */ public java.util.Date getCreateDate() { return this.createDate; } /** ** The date and time that the recipe was created. *
* * @param createDate * The date and time that the recipe was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withCreateDate(java.util.Date createDate) { setCreateDate(createDate); return this; } /** ** The Amazon Resource Name (ARN) of the user who last modified the recipe. *
* * @param lastModifiedBy * The Amazon Resource Name (ARN) of the user who last modified the recipe. */ public void setLastModifiedBy(String lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** ** The Amazon Resource Name (ARN) of the user who last modified the recipe. *
* * @return The Amazon Resource Name (ARN) of the user who last modified the recipe. */ public String getLastModifiedBy() { return this.lastModifiedBy; } /** ** The Amazon Resource Name (ARN) of the user who last modified the recipe. *
* * @param lastModifiedBy * The Amazon Resource Name (ARN) of the user who last modified the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withLastModifiedBy(String lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** ** The last modification date and time of the recipe. *
* * @param lastModifiedDate * The last modification date and time of the recipe. */ public void setLastModifiedDate(java.util.Date lastModifiedDate) { this.lastModifiedDate = lastModifiedDate; } /** ** The last modification date and time of the recipe. *
* * @return The last modification date and time of the recipe. */ public java.util.Date getLastModifiedDate() { return this.lastModifiedDate; } /** ** The last modification date and time of the recipe. *
* * @param lastModifiedDate * The last modification date and time of the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withLastModifiedDate(java.util.Date lastModifiedDate) { setLastModifiedDate(lastModifiedDate); return this; } /** ** The name of the project that the recipe is associated with. *
* * @param projectName * The name of the project that the recipe is associated with. */ public void setProjectName(String projectName) { this.projectName = projectName; } /** ** The name of the project that the recipe is associated with. *
* * @return The name of the project that the recipe is associated with. */ public String getProjectName() { return this.projectName; } /** ** The name of the project that the recipe is associated with. *
* * @param projectName * The name of the project that the recipe is associated with. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withProjectName(String projectName) { setProjectName(projectName); return this; } /** ** The Amazon Resource Name (ARN) of the user who published the recipe. *
* * @param publishedBy * The Amazon Resource Name (ARN) of the user who published the recipe. */ public void setPublishedBy(String publishedBy) { this.publishedBy = publishedBy; } /** ** The Amazon Resource Name (ARN) of the user who published the recipe. *
* * @return The Amazon Resource Name (ARN) of the user who published the recipe. */ public String getPublishedBy() { return this.publishedBy; } /** ** The Amazon Resource Name (ARN) of the user who published the recipe. *
* * @param publishedBy * The Amazon Resource Name (ARN) of the user who published the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withPublishedBy(String publishedBy) { setPublishedBy(publishedBy); return this; } /** ** The date and time when the recipe was published. *
* * @param publishedDate * The date and time when the recipe was published. */ public void setPublishedDate(java.util.Date publishedDate) { this.publishedDate = publishedDate; } /** ** The date and time when the recipe was published. *
* * @return The date and time when the recipe was published. */ public java.util.Date getPublishedDate() { return this.publishedDate; } /** ** The date and time when the recipe was published. *
* * @param publishedDate * The date and time when the recipe was published. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withPublishedDate(java.util.Date publishedDate) { setPublishedDate(publishedDate); return this; } /** ** The description of the recipe. *
* * @param description * The description of the recipe. */ public void setDescription(String description) { this.description = description; } /** ** The description of the recipe. *
* * @return The description of the recipe. */ public String getDescription() { return this.description; } /** ** The description of the recipe. *
* * @param description * The description of the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withDescription(String description) { setDescription(description); return this; } /** ** The unique name for the recipe. *
* * @param name * The unique name for the recipe. */ public void setName(String name) { this.name = name; } /** ** The unique name for the recipe. *
* * @return The unique name for the recipe. */ public String getName() { return this.name; } /** ** The unique name for the recipe. *
* * @param name * The unique name for the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withName(String name) { setName(name); return this; } /** ** The Amazon Resource Name (ARN) for the recipe. *
* * @param resourceArn * The Amazon Resource Name (ARN) for the recipe. */ public void setResourceArn(String resourceArn) { this.resourceArn = resourceArn; } /** ** The Amazon Resource Name (ARN) for the recipe. *
* * @return The Amazon Resource Name (ARN) for the recipe. */ public String getResourceArn() { return this.resourceArn; } /** ** The Amazon Resource Name (ARN) for the recipe. *
* * @param resourceArn * The Amazon Resource Name (ARN) for the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withResourceArn(String resourceArn) { setResourceArn(resourceArn); return this; } /** ** A list of steps that are defined by the recipe. *
* * @return A list of steps that are defined by the recipe. */ public java.util.List* A list of steps that are defined by the recipe. *
* * @param steps * A list of steps that are defined by the recipe. */ public void setSteps(java.util.Collection* A list of steps that are defined by the recipe. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSteps(java.util.Collection)} or {@link #withSteps(java.util.Collection)} if you want to override the * existing values. *
* * @param steps * A list of steps that are defined by the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withSteps(RecipeStep... steps) { if (this.steps == null) { setSteps(new java.util.ArrayList* A list of steps that are defined by the recipe. *
* * @param steps * A list of steps that are defined by the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withSteps(java.util.Collection* Metadata tags that have been applied to the recipe. *
* * @return Metadata tags that have been applied to the recipe. */ public java.util.Map* Metadata tags that have been applied to the recipe. *
* * @param tags * Metadata tags that have been applied to the recipe. */ public void setTags(java.util.Map* Metadata tags that have been applied to the recipe. *
* * @param tags * Metadata tags that have been applied to the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipe withTags(java.util.Map* The identifier for the version for the recipe. Must be one of the following: *
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version numbers.
* The maximum length of each is 6 digits, and neither can be negative values. Both X
and
* Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version
* numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X
* and Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*
* The identifier for the version for the recipe. Must be one of the following: *
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version numbers.
* The maximum length of each is 6 digits, and neither can be negative values. Both X
and
* Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version
* numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X
* and Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*
* The identifier for the version for the recipe. Must be one of the following: *
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version numbers.
* The maximum length of each is 6 digits, and neither can be negative values. Both X
and
* Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*
* Numeric version (X.Y
) - X
and Y
stand for major and minor version
* numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X
* and Y
are required, and "0.0" isn't a valid version.
*
* LATEST_WORKING
- the most recent valid version being developed in a DataBrew project.
*
* LATEST_PUBLISHED
- the most recent published version.
*