/* * 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.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The details of a blueprint run. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BlueprintRun implements Serializable, Cloneable, StructuredPojo { /** *

* The name of the blueprint. *

*/ private String blueprintName; /** *

* The run ID for this blueprint run. *

*/ private String runId; /** *

* The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an * error, there will not be a workflow created. *

*/ private String workflowName; /** *

* The state of the blueprint run. Possible values are: *

* */ private String state; /** *

* The date and time that the blueprint run started. *

*/ private java.util.Date startedOn; /** *

* The date and time that the blueprint run completed. *

*/ private java.util.Date completedOn; /** *

* Indicates any errors that are seen while running the blueprint. *

*/ private String errorMessage; /** *

* If there are any errors while creating the entities of a workflow, we try to roll back the created entities until * that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are * created. *

*/ private String rollbackErrorMessage; /** *

* The blueprint parameters as a string. You will have to provide a value for each key that is required from the * parameter spec that is defined in the Blueprint$ParameterSpec. *

*/ private String parameters; /** *

* The role ARN. This role will be assumed by the Glue service and will be used to create the workflow and other * entities of a workflow. *

*/ private String roleArn; /** *

* The name of the blueprint. *

* * @param blueprintName * The name of the blueprint. */ public void setBlueprintName(String blueprintName) { this.blueprintName = blueprintName; } /** *

* The name of the blueprint. *

* * @return The name of the blueprint. */ public String getBlueprintName() { return this.blueprintName; } /** *

* The name of the blueprint. *

* * @param blueprintName * The name of the blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public BlueprintRun withBlueprintName(String blueprintName) { setBlueprintName(blueprintName); return this; } /** *

* The run ID for this blueprint run. *

* * @param runId * The run ID for this blueprint run. */ public void setRunId(String runId) { this.runId = runId; } /** *

* The run ID for this blueprint run. *

* * @return The run ID for this blueprint run. */ public String getRunId() { return this.runId; } /** *

* The run ID for this blueprint run. *

* * @param runId * The run ID for this blueprint run. * @return Returns a reference to this object so that method calls can be chained together. */ public BlueprintRun withRunId(String runId) { setRunId(runId); return this; } /** *

* The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an * error, there will not be a workflow created. *

* * @param workflowName * The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has * an error, there will not be a workflow created. */ public void setWorkflowName(String workflowName) { this.workflowName = workflowName; } /** *

* The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an * error, there will not be a workflow created. *

* * @return The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has * an error, there will not be a workflow created. */ public String getWorkflowName() { return this.workflowName; } /** *

* The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an * error, there will not be a workflow created. *

* * @param workflowName * The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has * an error, there will not be a workflow created. * @return Returns a reference to this object so that method calls can be chained together. */ public BlueprintRun withWorkflowName(String workflowName) { setWorkflowName(workflowName); return this; } /** *

* The state of the blueprint run. Possible values are: *

* * * @param state * The state of the blueprint run. Possible values are:

*