@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Domain extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Domain() |
Modifier and Type | Method and Description |
---|---|
Domain |
clone() |
boolean |
equals(Object obj) |
String |
getLifecycle()
The type of lifecycle management for apps in the domain.
|
String |
getName()
The name of the domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLifecycle(String lifecycle)
The type of lifecycle management for apps in the domain.
|
void |
setName(String name)
The name of the domain.
|
String |
toString()
Returns a string representation of this object.
|
Domain |
withLifecycle(LifecycleManagementStrategy lifecycle)
The type of lifecycle management for apps in the domain.
|
Domain |
withLifecycle(String lifecycle)
The type of lifecycle management for apps in the domain.
|
Domain |
withName(String name)
The name of the domain.
|
public void setLifecycle(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.
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.
LifecycleManagementStrategy
public String getLifecycle()
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.
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.
LifecycleManagementStrategy
public Domain withLifecycle(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.
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.
LifecycleManagementStrategy
public Domain withLifecycle(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.
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.
LifecycleManagementStrategy
public void setName(String name)
The name of the domain.
name
- The name of the domain.public String getName()
The name of the domain.
public Domain withName(String name)
The name of the domain.
name
- The name of the domain.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.