All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.sagemaker.model.PipelineSummary Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon SageMaker module holds the client classes that are used for communicating with Amazon SageMaker Service

The newest version!
/*
 * Copyright 2019-2024 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 summary of a pipeline. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PipelineSummary 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) that the pipeline used to execute. *

*/ private String roleArn; /** *

* 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 last time that a pipeline execution began. *

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

* 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 PipelineSummary 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 PipelineSummary 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 PipelineSummary 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 PipelineSummary withPipelineDescription(String pipelineDescription) { setPipelineDescription(pipelineDescription); return this; } /** *

* The Amazon Resource Name (ARN) that the pipeline used to execute. *

* * @param roleArn * The Amazon Resource Name (ARN) that the pipeline used to execute. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** *

* The Amazon Resource Name (ARN) that the pipeline used to execute. *

* * @return The Amazon Resource Name (ARN) that the pipeline used to execute. */ public String getRoleArn() { return this.roleArn; } /** *

* The Amazon Resource Name (ARN) that the pipeline used to execute. *

* * @param roleArn * The Amazon Resource Name (ARN) that the pipeline used to execute. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineSummary withRoleArn(String roleArn) { setRoleArn(roleArn); 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 PipelineSummary 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 PipelineSummary withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

* The last time that a pipeline execution began. *

* * @param lastExecutionTime * The last time that a pipeline execution began. */ public void setLastExecutionTime(java.util.Date lastExecutionTime) { this.lastExecutionTime = lastExecutionTime; } /** *

* The last time that a pipeline execution began. *

* * @return The last time that a pipeline execution began. */ public java.util.Date getLastExecutionTime() { return this.lastExecutionTime; } /** *

* The last time that a pipeline execution began. *

* * @param lastExecutionTime * The last time that a pipeline execution began. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineSummary withLastExecutionTime(java.util.Date lastExecutionTime) { setLastExecutionTime(lastExecutionTime); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPipelineArn() != null) sb.append("PipelineArn: ").append(getPipelineArn()).append(","); if (getPipelineName() != null) sb.append("PipelineName: ").append(getPipelineName()).append(","); if (getPipelineDisplayName() != null) sb.append("PipelineDisplayName: ").append(getPipelineDisplayName()).append(","); if (getPipelineDescription() != null) sb.append("PipelineDescription: ").append(getPipelineDescription()).append(","); if (getRoleArn() != null) sb.append("RoleArn: ").append(getRoleArn()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getLastExecutionTime() != null) sb.append("LastExecutionTime: ").append(getLastExecutionTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PipelineSummary == false) return false; PipelineSummary other = (PipelineSummary) obj; if (other.getPipelineArn() == null ^ this.getPipelineArn() == null) return false; if (other.getPipelineArn() != null && other.getPipelineArn().equals(this.getPipelineArn()) == false) return false; if (other.getPipelineName() == null ^ this.getPipelineName() == null) return false; if (other.getPipelineName() != null && other.getPipelineName().equals(this.getPipelineName()) == false) return false; if (other.getPipelineDisplayName() == null ^ this.getPipelineDisplayName() == null) return false; if (other.getPipelineDisplayName() != null && other.getPipelineDisplayName().equals(this.getPipelineDisplayName()) == false) return false; if (other.getPipelineDescription() == null ^ this.getPipelineDescription() == null) return false; if (other.getPipelineDescription() != null && other.getPipelineDescription().equals(this.getPipelineDescription()) == false) return false; if (other.getRoleArn() == null ^ this.getRoleArn() == null) return false; if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getLastExecutionTime() == null ^ this.getLastExecutionTime() == null) return false; if (other.getLastExecutionTime() != null && other.getLastExecutionTime().equals(this.getLastExecutionTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPipelineArn() == null) ? 0 : getPipelineArn().hashCode()); hashCode = prime * hashCode + ((getPipelineName() == null) ? 0 : getPipelineName().hashCode()); hashCode = prime * hashCode + ((getPipelineDisplayName() == null) ? 0 : getPipelineDisplayName().hashCode()); hashCode = prime * hashCode + ((getPipelineDescription() == null) ? 0 : getPipelineDescription().hashCode()); hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getLastExecutionTime() == null) ? 0 : getLastExecutionTime().hashCode()); return hashCode; } @Override public PipelineSummary clone() { try { return (PipelineSummary) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.sagemaker.model.transform.PipelineSummaryMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy