/* * 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.fis.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides a summary of an experiment. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ExperimentSummary implements Serializable, Cloneable, StructuredPojo { /** ** The ID of the experiment. *
*/ private String id; /** ** The ID of the experiment template. *
*/ private String experimentTemplateId; /** ** The state of the experiment. *
*/ private ExperimentState state; /** ** The time that the experiment was created. *
*/ private java.util.Date creationTime; /** ** The tags for the experiment. *
*/ private java.util.Map* The ID of the experiment. *
* * @param id * The ID of the experiment. */ public void setId(String id) { this.id = id; } /** ** The ID of the experiment. *
* * @return The ID of the experiment. */ public String getId() { return this.id; } /** ** The ID of the experiment. *
* * @param id * The ID of the experiment. * @return Returns a reference to this object so that method calls can be chained together. */ public ExperimentSummary withId(String id) { setId(id); return this; } /** ** The ID of the experiment template. *
* * @param experimentTemplateId * The ID of the experiment template. */ public void setExperimentTemplateId(String experimentTemplateId) { this.experimentTemplateId = experimentTemplateId; } /** ** The ID of the experiment template. *
* * @return The ID of the experiment template. */ public String getExperimentTemplateId() { return this.experimentTemplateId; } /** ** The ID of the experiment template. *
* * @param experimentTemplateId * The ID of the experiment template. * @return Returns a reference to this object so that method calls can be chained together. */ public ExperimentSummary withExperimentTemplateId(String experimentTemplateId) { setExperimentTemplateId(experimentTemplateId); return this; } /** ** The state of the experiment. *
* * @param state * The state of the experiment. */ public void setState(ExperimentState state) { this.state = state; } /** ** The state of the experiment. *
* * @return The state of the experiment. */ public ExperimentState getState() { return this.state; } /** ** The state of the experiment. *
* * @param state * The state of the experiment. * @return Returns a reference to this object so that method calls can be chained together. */ public ExperimentSummary withState(ExperimentState state) { setState(state); return this; } /** ** The time that the experiment was created. *
* * @param creationTime * The time that the experiment was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The time that the experiment was created. *
* * @return The time that the experiment was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The time that the experiment was created. *
* * @param creationTime * The time that the experiment was created. * @return Returns a reference to this object so that method calls can be chained together. */ public ExperimentSummary withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** The tags for the experiment. *
* * @return The tags for the experiment. */ public java.util.Map* The tags for the experiment. *
* * @param tags * The tags for the experiment. */ public void setTags(java.util.Map* The tags for the experiment. *
* * @param tags * The tags for the experiment. * @return Returns a reference to this object so that method calls can be chained together. */ public ExperimentSummary withTags(java.util.Map