Interface HealthMonitoring.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthMonitoring.Builder,,HealthMonitoring> SdkBuilder<HealthMonitoring.Builder,,HealthMonitoring> SdkPojo
- Enclosing class:
HealthMonitoring
-
Method Summary
Modifier and TypeMethodDescriptionThe health monitoring mode.mode(HealthMonitoringMode mode) The health monitoring mode.repairAction(String repairAction) The action that PCS takes when health monitoring finds a fault on an instance.repairAction(HealthMonitoringRepairAction repairAction) The action that PCS takes when health monitoring finds a fault on an instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mode
The health monitoring mode. This value is required when you specify
healthMonitoring. There is no default value. Valid values:-
NONE– Turns off health monitoring. You can't specifyrepairActionwith this mode. -
STANDARD– Continuously checks running instances for hardware and software faults.
- Parameters:
mode- The health monitoring mode. This value is required when you specifyhealthMonitoring. There is no default value. Valid values:-
NONE– Turns off health monitoring. You can't specifyrepairActionwith this mode. -
STANDARD– Continuously checks running instances for hardware and software faults.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
mode
The health monitoring mode. This value is required when you specify
healthMonitoring. There is no default value. Valid values:-
NONE– Turns off health monitoring. You can't specifyrepairActionwith this mode. -
STANDARD– Continuously checks running instances for hardware and software faults.
- Parameters:
mode- The health monitoring mode. This value is required when you specifyhealthMonitoring. There is no default value. Valid values:-
NONE– Turns off health monitoring. You can't specifyrepairActionwith this mode. -
STANDARD– Continuously checks running instances for hardware and software faults.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
repairAction
The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when
modeisNONE. If you don't specify this value andmodeisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance after running jobs finish. -
ISOLATE– Stops new jobs on the instance and keeps the instance running until you investigate. -
NONE– Records the fault in Slurm and leaves the instance available for jobs.
- Parameters:
repairAction- The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value whenmodeisNONE. If you don't specify this value andmodeisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance after running jobs finish. -
ISOLATE– Stops new jobs on the instance and keeps the instance running until you investigate. -
NONE– Records the fault in Slurm and leaves the instance available for jobs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
repairAction
The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when
modeisNONE. If you don't specify this value andmodeisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance after running jobs finish. -
ISOLATE– Stops new jobs on the instance and keeps the instance running until you investigate. -
NONE– Records the fault in Slurm and leaves the instance available for jobs.
- Parameters:
repairAction- The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value whenmodeisNONE. If you don't specify this value andmodeisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance after running jobs finish. -
ISOLATE– Stops new jobs on the instance and keeps the instance running until you investigate. -
NONE– Records the fault in Slurm and leaves the instance available for jobs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-