/*
* 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;
/**
*
* @see AWS
* API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeTrialComponentResult extends com.amazonaws.AmazonWebServiceResult
* The name of the trial component.
*
* The Amazon Resource Name (ARN) of the trial component.
*
* The name of the component as displayed. If
* The Amazon Resource Name (ARN) of the source and, optionally, the job type.
*
* The status of the component. States include:
*
* InProgress
*
* Completed
*
* Failed
*
* When the component started.
*
* When the component ended.
*
* When the component was created.
*
* Who created the trial component.
*
* When the component was last modified.
*
* Who last modified the component.
*
* The hyperparameters of the component.
*
* The input artifacts of the component.
*
* The output artifacts of the component.
*
* The metrics for the component.
*
* The Amazon Resource Name (ARN) of the lineage group.
*
* A list of ARNs and, if applicable, job types for multiple sources of an experiment run.
*
* The name of the trial component.
*
* The name of the trial component.
*
* The name of the trial component.
*
* The Amazon Resource Name (ARN) of the trial component.
*
* The Amazon Resource Name (ARN) of the trial component.
*
* The Amazon Resource Name (ARN) of the trial component.
*
* The name of the component as displayed. If
* The name of the component as displayed. If
* The name of the component as displayed. If
* The Amazon Resource Name (ARN) of the source and, optionally, the job type.
*
* The Amazon Resource Name (ARN) of the source and, optionally, the job type.
*
* The Amazon Resource Name (ARN) of the source and, optionally, the job type.
*
* The status of the component. States include:
*
* InProgress
*
* Completed
*
* Failed
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
*
*
*/
private TrialComponentStatus status;
/**
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
*/
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
/**
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
*/
public String getDisplayName() {
return this.displayName;
}
/**
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
* DisplayName
isn't specified,
* TrialComponentName
is displayed.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeTrialComponentResult withDisplayName(String displayName) {
setDisplayName(displayName);
return this;
}
/**
*
*
*
* @param status
* The status of the component. States include:
* InProgress *
** Completed *
** Failed *
** The status of the component. States include: *
** InProgress *
** Completed *
** Failed *
** InProgress *
** Completed *
** Failed *
** The status of the component. States include: *
** InProgress *
** Completed *
** Failed *
** InProgress *
** Completed *
** Failed *
** When the component started. *
* * @param startTime * When the component started. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** ** When the component started. *
* * @return When the component started. */ public java.util.Date getStartTime() { return this.startTime; } /** ** When the component started. *
* * @param startTime * When the component started. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** ** When the component ended. *
* * @param endTime * When the component ended. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** ** When the component ended. *
* * @return When the component ended. */ public java.util.Date getEndTime() { return this.endTime; } /** ** When the component ended. *
* * @param endTime * When the component ended. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** ** When the component was created. *
* * @param creationTime * When the component was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** When the component was created. *
* * @return When the component was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** When the component was created. *
* * @param creationTime * When the component was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** Who created the trial component. *
* * @param createdBy * Who created the trial component. */ public void setCreatedBy(UserContext createdBy) { this.createdBy = createdBy; } /** ** Who created the trial component. *
* * @return Who created the trial component. */ public UserContext getCreatedBy() { return this.createdBy; } /** ** Who created the trial component. *
* * @param createdBy * Who created the trial component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withCreatedBy(UserContext createdBy) { setCreatedBy(createdBy); return this; } /** ** When the component was last modified. *
* * @param lastModifiedTime * When the component was last modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** ** When the component was last modified. *
* * @return When the component was last modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** ** When the component was last modified. *
* * @param lastModifiedTime * When the component was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** ** Who last modified the component. *
* * @param lastModifiedBy * Who last modified the component. */ public void setLastModifiedBy(UserContext lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** ** Who last modified the component. *
* * @return Who last modified the component. */ public UserContext getLastModifiedBy() { return this.lastModifiedBy; } /** ** Who last modified the component. *
* * @param lastModifiedBy * Who last modified the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withLastModifiedBy(UserContext lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** ** The hyperparameters of the component. *
* * @return The hyperparameters of the component. */ public java.util.Map* The hyperparameters of the component. *
* * @param parameters * The hyperparameters of the component. */ public void setParameters(java.util.Map* The hyperparameters of the component. *
* * @param parameters * The hyperparameters of the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withParameters(java.util.Map* The input artifacts of the component. *
* * @return The input artifacts of the component. */ public java.util.Map* The input artifacts of the component. *
* * @param inputArtifacts * The input artifacts of the component. */ public void setInputArtifacts(java.util.Map* The input artifacts of the component. *
* * @param inputArtifacts * The input artifacts of the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withInputArtifacts(java.util.Map* The output artifacts of the component. *
* * @return The output artifacts of the component. */ public java.util.Map* The output artifacts of the component. *
* * @param outputArtifacts * The output artifacts of the component. */ public void setOutputArtifacts(java.util.Map* The output artifacts of the component. *
* * @param outputArtifacts * The output artifacts of the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withOutputArtifacts(java.util.Map* The metrics for the component. *
* * @return The metrics for the component. */ public java.util.List* The metrics for the component. *
* * @param metrics * The metrics for the component. */ public void setMetrics(java.util.Collection* The metrics for the component. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMetrics(java.util.Collection)} or {@link #withMetrics(java.util.Collection)} if you want to override * the existing values. *
* * @param metrics * The metrics for the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withMetrics(TrialComponentMetricSummary... metrics) { if (this.metrics == null) { setMetrics(new java.util.ArrayList* The metrics for the component. *
* * @param metrics * The metrics for the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withMetrics(java.util.Collection* The Amazon Resource Name (ARN) of the lineage group. *
* * @param lineageGroupArn * The Amazon Resource Name (ARN) of the lineage group. */ public void setLineageGroupArn(String lineageGroupArn) { this.lineageGroupArn = lineageGroupArn; } /** ** The Amazon Resource Name (ARN) of the lineage group. *
* * @return The Amazon Resource Name (ARN) of the lineage group. */ public String getLineageGroupArn() { return this.lineageGroupArn; } /** ** The Amazon Resource Name (ARN) of the lineage group. *
* * @param lineageGroupArn * The Amazon Resource Name (ARN) of the lineage group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withLineageGroupArn(String lineageGroupArn) { setLineageGroupArn(lineageGroupArn); return this; } /** ** A list of ARNs and, if applicable, job types for multiple sources of an experiment run. *
* * @return A list of ARNs and, if applicable, job types for multiple sources of an experiment run. */ public java.util.List* A list of ARNs and, if applicable, job types for multiple sources of an experiment run. *
* * @param sources * A list of ARNs and, if applicable, job types for multiple sources of an experiment run. */ public void setSources(java.util.Collection* A list of ARNs and, if applicable, job types for multiple sources of an experiment run. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSources(java.util.Collection)} or {@link #withSources(java.util.Collection)} if you want to override * the existing values. *
* * @param sources * A list of ARNs and, if applicable, job types for multiple sources of an experiment run. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withSources(TrialComponentSource... sources) { if (this.sources == null) { setSources(new java.util.ArrayList* A list of ARNs and, if applicable, job types for multiple sources of an experiment run. *
* * @param sources * A list of ARNs and, if applicable, job types for multiple sources of an experiment run. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrialComponentResult withSources(java.util.Collection