Interface LiveSimulationState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LiveSimulationState.Builder,LiveSimulationState>,SdkBuilder<LiveSimulationState.Builder,LiveSimulationState>,SdkPojo
- Enclosing class:
- LiveSimulationState
public static interface LiveSimulationState.Builder extends SdkPojo, CopyableBuilder<LiveSimulationState.Builder,LiveSimulationState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LiveSimulationState.Builderclocks(Collection<SimulationClock> clocks)A list of simulation clocks.LiveSimulationState.Builderclocks(Consumer<SimulationClock.Builder>... clocks)A list of simulation clocks.LiveSimulationState.Builderclocks(SimulationClock... clocks)A list of simulation clocks.LiveSimulationState.Builderdomains(Collection<Domain> domains)A list of domains for the simulation.LiveSimulationState.Builderdomains(Consumer<Domain.Builder>... domains)A list of domains for the simulation.LiveSimulationState.Builderdomains(Domain... domains)A list of domains for the simulation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clocks
LiveSimulationState.Builder clocks(Collection<SimulationClock> clocks)
A list of simulation clocks.
At this time, a simulation has only one clock.
- Parameters:
clocks- A list of simulation clocks.At this time, a simulation has only one clock.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clocks
LiveSimulationState.Builder clocks(SimulationClock... clocks)
A list of simulation clocks.
At this time, a simulation has only one clock.
- Parameters:
clocks- A list of simulation clocks.At this time, a simulation has only one clock.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clocks
LiveSimulationState.Builder clocks(Consumer<SimulationClock.Builder>... clocks)
A list of simulation clocks.
This is a convenience method that creates an instance of theAt this time, a simulation has only one clock.
SimulationClock.Builderavoiding the need to create one manually viaSimulationClock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#clocks(List.) - Parameters:
clocks- a consumer that will call methods onSimulationClock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#clocks(java.util.Collection)
-
domains
LiveSimulationState.Builder domains(Collection<Domain> domains)
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
- Parameters:
domains- A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
LiveSimulationState.Builder domains(Domain... domains)
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
- Parameters:
domains- A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
LiveSimulationState.Builder domains(Consumer<Domain.Builder>... domains)
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
This is a convenience method that creates an instance of theDomain.Builderavoiding the need to create one manually viaDomain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#domains(List.) - Parameters:
domains- a consumer that will call methods onDomain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#domains(java.util.Collection)
-
-