/* * 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 summary of the properties of a trial component. To get all the properties, call the DescribeTrialComponent API and provide the TrialComponentName. *

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

* The name of the trial component. *

*/ private String trialComponentName; /** *

* The Amazon Resource Name (ARN) of the trial component. *

*/ private String trialComponentArn; /** *

* The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. *

*/ private String displayName; private TrialComponentSource trialComponentSource; /** *

* The status of the component. States include: *

* */ private TrialComponentStatus status; /** *

* When the component started. *

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

* When the component ended. *

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

* When the component was created. *

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

* Who created the trial component. *

*/ private UserContext createdBy; /** *

* When the component was last modified. *

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

* Who last modified the component. *

*/ private UserContext lastModifiedBy; /** *

* The name of the trial component. *

* * @param trialComponentName * The name of the trial component. */ public void setTrialComponentName(String trialComponentName) { this.trialComponentName = trialComponentName; } /** *

* The name of the trial component. *

* * @return The name of the trial component. */ public String getTrialComponentName() { return this.trialComponentName; } /** *

* The name of the trial component. *

* * @param trialComponentName * The name of the trial component. * @return Returns a reference to this object so that method calls can be chained together. */ public TrialComponentSummary withTrialComponentName(String trialComponentName) { setTrialComponentName(trialComponentName); return this; } /** *

* The Amazon Resource Name (ARN) of the trial component. *

* * @param trialComponentArn * The Amazon Resource Name (ARN) of the trial component. */ public void setTrialComponentArn(String trialComponentArn) { this.trialComponentArn = trialComponentArn; } /** *

* The Amazon Resource Name (ARN) of the trial component. *

* * @return The Amazon Resource Name (ARN) of the trial component. */ public String getTrialComponentArn() { return this.trialComponentArn; } /** *

* The Amazon Resource Name (ARN) of the trial component. *

* * @param trialComponentArn * The Amazon Resource Name (ARN) of the trial component. * @return Returns a reference to this object so that method calls can be chained together. */ public TrialComponentSummary withTrialComponentArn(String trialComponentArn) { setTrialComponentArn(trialComponentArn); return this; } /** *

* The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. *

* * @param displayName * The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. */ public void setDisplayName(String displayName) { this.displayName = displayName; } /** *

* The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. *

* * @return The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. */ public String getDisplayName() { return this.displayName; } /** *

* The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. *

* * @param displayName * The name of the component as displayed. If DisplayName isn't specified, * TrialComponentName is displayed. * @return Returns a reference to this object so that method calls can be chained together. */ public TrialComponentSummary withDisplayName(String displayName) { setDisplayName(displayName); return this; } /** * @param trialComponentSource */ public void setTrialComponentSource(TrialComponentSource trialComponentSource) { this.trialComponentSource = trialComponentSource; } /** * @return */ public TrialComponentSource getTrialComponentSource() { return this.trialComponentSource; } /** * @param trialComponentSource * @return Returns a reference to this object so that method calls can be chained together. */ public TrialComponentSummary withTrialComponentSource(TrialComponentSource trialComponentSource) { setTrialComponentSource(trialComponentSource); return this; } /** *

* The status of the component. States include: *

* * * @param status * The status of the component. States include:

*