/* * 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.simspaceweaver.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A collection of additional state information, such as domain and clock configuration. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class LiveSimulationState implements Serializable, Cloneable, StructuredPojo { /** ** A list of simulation clocks. *
** At this time, a simulation has only one clock. *
** A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. *
*/ private java.util.List* A list of simulation clocks. *
** At this time, a simulation has only one clock. *
** At this time, a simulation has only one clock. *
*/ public java.util.List* A list of simulation clocks. *
** At this time, a simulation has only one clock. *
** At this time, a simulation has only one clock. *
*/ public void setClocks(java.util.Collection* A list of simulation clocks. *
** At this time, a simulation has only one clock. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setClocks(java.util.Collection)} or {@link #withClocks(java.util.Collection)} if you want to override the * existing values. *
* * @param clocks * A list of simulation clocks.* At this time, a simulation has only one clock. *
* @return Returns a reference to this object so that method calls can be chained together. */ public LiveSimulationState withClocks(SimulationClock... clocks) { if (this.clocks == null) { setClocks(new java.util.ArrayList* A list of simulation clocks. *
** At this time, a simulation has only one clock. *
** At this time, a simulation has only one clock. *
* @return Returns a reference to this object so that method calls can be chained together. */ public LiveSimulationState withClocks(java.util.Collection* A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. *
* * @return A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. */ public java.util.List* A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. *
* * @param domains * A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. */ public void setDomains(java.util.Collection* A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDomains(java.util.Collection)} or {@link #withDomains(java.util.Collection)} if you want to override * the existing values. *
* * @param domains * A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public LiveSimulationState withDomains(Domain... domains) { if (this.domains == null) { setDomains(new java.util.ArrayList* A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. *
* * @param domains * A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public LiveSimulationState withDomains(java.util.Collection