Interface Domain.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Domain.Builder,Domain>, SdkBuilder<Domain.Builder,Domain>, SdkPojo
Enclosing class:
Domain

@Mutable @NotThreadSafe public static interface Domain.Builder extends SdkPojo, CopyableBuilder<Domain.Builder,Domain>
  • Method Details

    • lifecycle

      Domain.Builder lifecycle(String lifecycle)

      The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

      Lifecycle types

      • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

      • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

      • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

      Parameters:
      lifecycle - The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

      Lifecycle types

      • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

      • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

      • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lifecycle

      The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

      Lifecycle types

      • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

      • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

      • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

      Parameters:
      lifecycle - The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

      Lifecycle types

      • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

      • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

      • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Domain.Builder name(String name)

      The name of the domain.

      Parameters:
      name - The name of the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.