/* * 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. *

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

* The name of the blueprint. *

*/ private String name; /** *

* The description of the blueprint. *

*/ private String description; /** *

* The date and time the blueprint was registered. *

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

* The date and time the blueprint was last modified. *

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

* A JSON string that indicates the list of parameter specifications for the blueprint. *

*/ private String parameterSpec; /** *

* Specifies the path in Amazon S3 where the blueprint is published. *

*/ private String blueprintLocation; /** *

* Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. *

*/ private String blueprintServiceLocation; /** *

* The status of the blueprint registration. *

* */ private String status; /** *

* An error message. *

*/ private String errorMessage; /** *

* When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates * the last successful blueprint definition that is available with the service. *

*/ private LastActiveDefinition lastActiveDefinition; /** *

* The name of the blueprint. *

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

* The name of the blueprint. *

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

* The name of the blueprint. *

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

* The description of the blueprint. *

* * @param description * The description of the blueprint. */ public void setDescription(String description) { this.description = description; } /** *

* The description of the blueprint. *

* * @return The description of the blueprint. */ public String getDescription() { return this.description; } /** *

* The description of the blueprint. *

* * @param description * The description of the blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public Blueprint withDescription(String description) { setDescription(description); return this; } /** *

* The date and time the blueprint was registered. *

* * @param createdOn * The date and time the blueprint was registered. */ public void setCreatedOn(java.util.Date createdOn) { this.createdOn = createdOn; } /** *

* The date and time the blueprint was registered. *

* * @return The date and time the blueprint was registered. */ public java.util.Date getCreatedOn() { return this.createdOn; } /** *

* The date and time the blueprint was registered. *

* * @param createdOn * The date and time the blueprint was registered. * @return Returns a reference to this object so that method calls can be chained together. */ public Blueprint withCreatedOn(java.util.Date createdOn) { setCreatedOn(createdOn); return this; } /** *

* The date and time the blueprint was last modified. *

* * @param lastModifiedOn * The date and time the blueprint was last modified. */ public void setLastModifiedOn(java.util.Date lastModifiedOn) { this.lastModifiedOn = lastModifiedOn; } /** *

* The date and time the blueprint was last modified. *

* * @return The date and time the blueprint was last modified. */ public java.util.Date getLastModifiedOn() { return this.lastModifiedOn; } /** *

* The date and time the blueprint was last modified. *

* * @param lastModifiedOn * The date and time the blueprint was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public Blueprint withLastModifiedOn(java.util.Date lastModifiedOn) { setLastModifiedOn(lastModifiedOn); return this; } /** *

* A JSON string that indicates the list of parameter specifications for the blueprint. *

* * @param parameterSpec * A JSON string that indicates the list of parameter specifications for the blueprint. */ public void setParameterSpec(String parameterSpec) { this.parameterSpec = parameterSpec; } /** *

* A JSON string that indicates the list of parameter specifications for the blueprint. *

* * @return A JSON string that indicates the list of parameter specifications for the blueprint. */ public String getParameterSpec() { return this.parameterSpec; } /** *

* A JSON string that indicates the list of parameter specifications for the blueprint. *

* * @param parameterSpec * A JSON string that indicates the list of parameter specifications for the blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public Blueprint withParameterSpec(String parameterSpec) { setParameterSpec(parameterSpec); return this; } /** *

* Specifies the path in Amazon S3 where the blueprint is published. *

* * @param blueprintLocation * Specifies the path in Amazon S3 where the blueprint is published. */ public void setBlueprintLocation(String blueprintLocation) { this.blueprintLocation = blueprintLocation; } /** *

* Specifies the path in Amazon S3 where the blueprint is published. *

* * @return Specifies the path in Amazon S3 where the blueprint is published. */ public String getBlueprintLocation() { return this.blueprintLocation; } /** *

* Specifies the path in Amazon S3 where the blueprint is published. *

* * @param blueprintLocation * Specifies the path in Amazon S3 where the blueprint is published. * @return Returns a reference to this object so that method calls can be chained together. */ public Blueprint withBlueprintLocation(String blueprintLocation) { setBlueprintLocation(blueprintLocation); return this; } /** *

* Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. *

* * @param blueprintServiceLocation * Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. */ public void setBlueprintServiceLocation(String blueprintServiceLocation) { this.blueprintServiceLocation = blueprintServiceLocation; } /** *

* Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. *

* * @return Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. */ public String getBlueprintServiceLocation() { return this.blueprintServiceLocation; } /** *

* Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. *

* * @param blueprintServiceLocation * Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. * @return Returns a reference to this object so that method calls can be chained together. */ public Blueprint withBlueprintServiceLocation(String blueprintServiceLocation) { setBlueprintServiceLocation(blueprintServiceLocation); return this; } /** *

* The status of the blueprint registration. *

* * * @param status * The status of the blueprint registration.

*