@Generated(value="software.amazon.awssdk:codegen") public final class Domain extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Domain.Builder,Domain>
A collection of app instances that run the same executable app code and have the same launch options and commands.
For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Domain.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Domain.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LifecycleManagementStrategy |
lifecycle()
The type of lifecycle management for apps in the domain.
|
String |
lifecycleAsString()
The type of lifecycle management for apps in the domain.
|
String |
name()
The name of the domain.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Domain.Builder> |
serializableBuilderClass() |
Domain.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LifecycleManagementStrategy 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.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return LifecycleManagementStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lifecycleAsString().
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.
LifecycleManagementStrategypublic final String lifecycleAsString()
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.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return LifecycleManagementStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lifecycleAsString().
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.
LifecycleManagementStrategypublic final String name()
The name of the domain.
public Domain.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Domain.Builder,Domain>public static Domain.Builder builder()
public static Class<? extends Domain.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.