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

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

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

/**
 * 

* The summary of the Amazon SageMaker Model Card export job. *

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

* The name of the model card export job. *

*/ private String modelCardExportJobName; /** *

* The Amazon Resource Name (ARN) of the model card export job. *

*/ private String modelCardExportJobArn; /** *

* The completion status of the model card export job. *

*/ private String status; /** *

* The name of the model card that the export job exports. *

*/ private String modelCardName; /** *

* The version of the model card that the export job exports. *

*/ private Integer modelCardVersion; /** *

* The date and time that the model card export job was created. *

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

* The date and time that the model card export job was last modified.. *

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

* The name of the model card export job. *

* * @param modelCardExportJobName * The name of the model card export job. */ public void setModelCardExportJobName(String modelCardExportJobName) { this.modelCardExportJobName = modelCardExportJobName; } /** *

* The name of the model card export job. *

* * @return The name of the model card export job. */ public String getModelCardExportJobName() { return this.modelCardExportJobName; } /** *

* The name of the model card export job. *

* * @param modelCardExportJobName * The name of the model card export job. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelCardExportJobSummary withModelCardExportJobName(String modelCardExportJobName) { setModelCardExportJobName(modelCardExportJobName); return this; } /** *

* The Amazon Resource Name (ARN) of the model card export job. *

* * @param modelCardExportJobArn * The Amazon Resource Name (ARN) of the model card export job. */ public void setModelCardExportJobArn(String modelCardExportJobArn) { this.modelCardExportJobArn = modelCardExportJobArn; } /** *

* The Amazon Resource Name (ARN) of the model card export job. *

* * @return The Amazon Resource Name (ARN) of the model card export job. */ public String getModelCardExportJobArn() { return this.modelCardExportJobArn; } /** *

* The Amazon Resource Name (ARN) of the model card export job. *

* * @param modelCardExportJobArn * The Amazon Resource Name (ARN) of the model card export job. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelCardExportJobSummary withModelCardExportJobArn(String modelCardExportJobArn) { setModelCardExportJobArn(modelCardExportJobArn); return this; } /** *

* The completion status of the model card export job. *

* * @param status * The completion status of the model card export job. * @see ModelCardExportJobStatus */ public void setStatus(String status) { this.status = status; } /** *

* The completion status of the model card export job. *

* * @return The completion status of the model card export job. * @see ModelCardExportJobStatus */ public String getStatus() { return this.status; } /** *

* The completion status of the model card export job. *

* * @param status * The completion status of the model card export job. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelCardExportJobStatus */ public ModelCardExportJobSummary withStatus(String status) { setStatus(status); return this; } /** *

* The completion status of the model card export job. *

* * @param status * The completion status of the model card export job. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelCardExportJobStatus */ public ModelCardExportJobSummary withStatus(ModelCardExportJobStatus status) { this.status = status.toString(); return this; } /** *

* The name of the model card that the export job exports. *

* * @param modelCardName * The name of the model card that the export job exports. */ public void setModelCardName(String modelCardName) { this.modelCardName = modelCardName; } /** *

* The name of the model card that the export job exports. *

* * @return The name of the model card that the export job exports. */ public String getModelCardName() { return this.modelCardName; } /** *

* The name of the model card that the export job exports. *

* * @param modelCardName * The name of the model card that the export job exports. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelCardExportJobSummary withModelCardName(String modelCardName) { setModelCardName(modelCardName); return this; } /** *

* The version of the model card that the export job exports. *

* * @param modelCardVersion * The version of the model card that the export job exports. */ public void setModelCardVersion(Integer modelCardVersion) { this.modelCardVersion = modelCardVersion; } /** *

* The version of the model card that the export job exports. *

* * @return The version of the model card that the export job exports. */ public Integer getModelCardVersion() { return this.modelCardVersion; } /** *

* The version of the model card that the export job exports. *

* * @param modelCardVersion * The version of the model card that the export job exports. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelCardExportJobSummary withModelCardVersion(Integer modelCardVersion) { setModelCardVersion(modelCardVersion); return this; } /** *

* The date and time that the model card export job was created. *

* * @param createdAt * The date and time that the model card export job was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* The date and time that the model card export job was created. *

* * @return The date and time that the model card export job was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* The date and time that the model card export job was created. *

* * @param createdAt * The date and time that the model card export job was created. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelCardExportJobSummary withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The date and time that the model card export job was last modified.. *

* * @param lastModifiedAt * The date and time that the model card export job was last modified.. */ public void setLastModifiedAt(java.util.Date lastModifiedAt) { this.lastModifiedAt = lastModifiedAt; } /** *

* The date and time that the model card export job was last modified.. *

* * @return The date and time that the model card export job was last modified.. */ public java.util.Date getLastModifiedAt() { return this.lastModifiedAt; } /** *

* The date and time that the model card export job was last modified.. *

* * @param lastModifiedAt * The date and time that the model card export job was last modified.. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelCardExportJobSummary withLastModifiedAt(java.util.Date lastModifiedAt) { setLastModifiedAt(lastModifiedAt); 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 (getModelCardExportJobName() != null) sb.append("ModelCardExportJobName: ").append(getModelCardExportJobName()).append(","); if (getModelCardExportJobArn() != null) sb.append("ModelCardExportJobArn: ").append(getModelCardExportJobArn()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getModelCardName() != null) sb.append("ModelCardName: ").append(getModelCardName()).append(","); if (getModelCardVersion() != null) sb.append("ModelCardVersion: ").append(getModelCardVersion()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getLastModifiedAt() != null) sb.append("LastModifiedAt: ").append(getLastModifiedAt()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ModelCardExportJobSummary == false) return false; ModelCardExportJobSummary other = (ModelCardExportJobSummary) obj; if (other.getModelCardExportJobName() == null ^ this.getModelCardExportJobName() == null) return false; if (other.getModelCardExportJobName() != null && other.getModelCardExportJobName().equals(this.getModelCardExportJobName()) == false) return false; if (other.getModelCardExportJobArn() == null ^ this.getModelCardExportJobArn() == null) return false; if (other.getModelCardExportJobArn() != null && other.getModelCardExportJobArn().equals(this.getModelCardExportJobArn()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getModelCardName() == null ^ this.getModelCardName() == null) return false; if (other.getModelCardName() != null && other.getModelCardName().equals(this.getModelCardName()) == false) return false; if (other.getModelCardVersion() == null ^ this.getModelCardVersion() == null) return false; if (other.getModelCardVersion() != null && other.getModelCardVersion().equals(this.getModelCardVersion()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getLastModifiedAt() == null ^ this.getLastModifiedAt() == null) return false; if (other.getLastModifiedAt() != null && other.getLastModifiedAt().equals(this.getLastModifiedAt()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getModelCardExportJobName() == null) ? 0 : getModelCardExportJobName().hashCode()); hashCode = prime * hashCode + ((getModelCardExportJobArn() == null) ? 0 : getModelCardExportJobArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getModelCardName() == null) ? 0 : getModelCardName().hashCode()); hashCode = prime * hashCode + ((getModelCardVersion() == null) ? 0 : getModelCardVersion().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getLastModifiedAt() == null) ? 0 : getLastModifiedAt().hashCode()); return hashCode; } @Override public ModelCardExportJobSummary clone() { try { return (ModelCardExportJobSummary) 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.ModelCardExportJobSummaryMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy