/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A SageMaker Model Building Pipeline instance. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Pipeline implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the pipeline. *
*/ private String pipelineArn; /** ** The name of the pipeline. *
*/ private String pipelineName; /** ** The display name of the pipeline. *
*/ private String pipelineDisplayName; /** ** The description of the pipeline. *
*/ private String pipelineDescription; /** ** The Amazon Resource Name (ARN) of the role that created the pipeline. *
*/ private String roleArn; /** ** The status of the pipeline. *
*/ private String pipelineStatus; /** ** The creation time of the pipeline. *
*/ private java.util.Date creationTime; /** ** The time that the pipeline was last modified. *
*/ private java.util.Date lastModifiedTime; /** ** The time when the pipeline was last run. *
*/ private java.util.Date lastRunTime; private UserContext createdBy; private UserContext lastModifiedBy; /** ** The parallelism configuration applied to the pipeline. *
*/ private ParallelismConfiguration parallelismConfiguration; /** ** A list of tags that apply to the pipeline. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the pipeline. *
* * @param pipelineArn * The Amazon Resource Name (ARN) of the pipeline. */ public void setPipelineArn(String pipelineArn) { this.pipelineArn = pipelineArn; } /** ** The Amazon Resource Name (ARN) of the pipeline. *
* * @return The Amazon Resource Name (ARN) of the pipeline. */ public String getPipelineArn() { return this.pipelineArn; } /** ** The Amazon Resource Name (ARN) of the pipeline. *
* * @param pipelineArn * The Amazon Resource Name (ARN) of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineArn(String pipelineArn) { setPipelineArn(pipelineArn); return this; } /** ** The name of the pipeline. *
* * @param pipelineName * The name of the pipeline. */ public void setPipelineName(String pipelineName) { this.pipelineName = pipelineName; } /** ** The name of the pipeline. *
* * @return The name of the pipeline. */ public String getPipelineName() { return this.pipelineName; } /** ** The name of the pipeline. *
* * @param pipelineName * The name of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineName(String pipelineName) { setPipelineName(pipelineName); return this; } /** ** The display name of the pipeline. *
* * @param pipelineDisplayName * The display name of the pipeline. */ public void setPipelineDisplayName(String pipelineDisplayName) { this.pipelineDisplayName = pipelineDisplayName; } /** ** The display name of the pipeline. *
* * @return The display name of the pipeline. */ public String getPipelineDisplayName() { return this.pipelineDisplayName; } /** ** The display name of the pipeline. *
* * @param pipelineDisplayName * The display name of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineDisplayName(String pipelineDisplayName) { setPipelineDisplayName(pipelineDisplayName); return this; } /** ** The description of the pipeline. *
* * @param pipelineDescription * The description of the pipeline. */ public void setPipelineDescription(String pipelineDescription) { this.pipelineDescription = pipelineDescription; } /** ** The description of the pipeline. *
* * @return The description of the pipeline. */ public String getPipelineDescription() { return this.pipelineDescription; } /** ** The description of the pipeline. *
* * @param pipelineDescription * The description of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineDescription(String pipelineDescription) { setPipelineDescription(pipelineDescription); return this; } /** ** The Amazon Resource Name (ARN) of the role that created the pipeline. *
* * @param roleArn * The Amazon Resource Name (ARN) of the role that created the pipeline. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The Amazon Resource Name (ARN) of the role that created the pipeline. *
* * @return The Amazon Resource Name (ARN) of the role that created the pipeline. */ public String getRoleArn() { return this.roleArn; } /** ** The Amazon Resource Name (ARN) of the role that created the pipeline. *
* * @param roleArn * The Amazon Resource Name (ARN) of the role that created the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** The status of the pipeline. *
* * @param pipelineStatus * The status of the pipeline. * @see PipelineStatus */ public void setPipelineStatus(String pipelineStatus) { this.pipelineStatus = pipelineStatus; } /** ** The status of the pipeline. *
* * @return The status of the pipeline. * @see PipelineStatus */ public String getPipelineStatus() { return this.pipelineStatus; } /** ** The status of the pipeline. *
* * @param pipelineStatus * The status of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. * @see PipelineStatus */ public Pipeline withPipelineStatus(String pipelineStatus) { setPipelineStatus(pipelineStatus); return this; } /** ** The status of the pipeline. *
* * @param pipelineStatus * The status of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. * @see PipelineStatus */ public Pipeline withPipelineStatus(PipelineStatus pipelineStatus) { this.pipelineStatus = pipelineStatus.toString(); return this; } /** ** The creation time of the pipeline. *
* * @param creationTime * The creation time of the pipeline. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The creation time of the pipeline. *
* * @return The creation time of the pipeline. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The creation time of the pipeline. *
* * @param creationTime * The creation time of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** The time that the pipeline was last modified. *
* * @param lastModifiedTime * The time that the pipeline was last modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** ** The time that the pipeline was last modified. *
* * @return The time that the pipeline was last modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** ** The time that the pipeline was last modified. *
* * @param lastModifiedTime * The time that the pipeline was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** ** The time when the pipeline was last run. *
* * @param lastRunTime * The time when the pipeline was last run. */ public void setLastRunTime(java.util.Date lastRunTime) { this.lastRunTime = lastRunTime; } /** ** The time when the pipeline was last run. *
* * @return The time when the pipeline was last run. */ public java.util.Date getLastRunTime() { return this.lastRunTime; } /** ** The time when the pipeline was last run. *
* * @param lastRunTime * The time when the pipeline was last run. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withLastRunTime(java.util.Date lastRunTime) { setLastRunTime(lastRunTime); return this; } /** * @param createdBy */ public void setCreatedBy(UserContext createdBy) { this.createdBy = createdBy; } /** * @return */ public UserContext getCreatedBy() { return this.createdBy; } /** * @param createdBy * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withCreatedBy(UserContext createdBy) { setCreatedBy(createdBy); return this; } /** * @param lastModifiedBy */ public void setLastModifiedBy(UserContext lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** * @return */ public UserContext getLastModifiedBy() { return this.lastModifiedBy; } /** * @param lastModifiedBy * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withLastModifiedBy(UserContext lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** ** The parallelism configuration applied to the pipeline. *
* * @param parallelismConfiguration * The parallelism configuration applied to the pipeline. */ public void setParallelismConfiguration(ParallelismConfiguration parallelismConfiguration) { this.parallelismConfiguration = parallelismConfiguration; } /** ** The parallelism configuration applied to the pipeline. *
* * @return The parallelism configuration applied to the pipeline. */ public ParallelismConfiguration getParallelismConfiguration() { return this.parallelismConfiguration; } /** ** The parallelism configuration applied to the pipeline. *
* * @param parallelismConfiguration * The parallelism configuration applied to the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withParallelismConfiguration(ParallelismConfiguration parallelismConfiguration) { setParallelismConfiguration(parallelismConfiguration); return this; } /** ** A list of tags that apply to the pipeline. *
* * @return A list of tags that apply to the pipeline. */ public java.util.List* A list of tags that apply to the pipeline. *
* * @param tags * A list of tags that apply to the pipeline. */ public void setTags(java.util.Collection* A list of tags that apply to the pipeline. *
** 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 * A list of tags that apply to the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* A list of tags that apply to the pipeline. *
* * @param tags * A list of tags that apply to the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withTags(java.util.Collection