Interface ActiveInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActiveInstance.Builder,
,ActiveInstance> SdkBuilder<ActiveInstance.Builder,
,ActiveInstance> SdkPojo
- Enclosing class:
ActiveInstance
public static interface ActiveInstance.Builder
extends SdkPojo, CopyableBuilder<ActiveInstance.Builder,ActiveInstance>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceHealth
(String instanceHealth) The health status of the instance.instanceHealth
(InstanceHealthStatus instanceHealth) The health status of the instance.instanceId
(String instanceId) The ID of the instance.instanceType
(String instanceType) The instance type.spotInstanceRequestId
(String spotInstanceRequestId) The ID of the Spot Instance request.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, sdkFields
-
Method Details
-
instanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type.
- Parameters:
instanceType
- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotInstanceRequestId
The ID of the Spot Instance request.
- Parameters:
spotInstanceRequestId
- The ID of the Spot Instance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceHealth
The health status of the instance. If the status of either the instance status check or the system status check is
impaired
, the health status of the instance isunhealthy
. Otherwise, the health status ishealthy
.- Parameters:
instanceHealth
- The health status of the instance. If the status of either the instance status check or the system status check isimpaired
, the health status of the instance isunhealthy
. Otherwise, the health status ishealthy
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceHealth
The health status of the instance. If the status of either the instance status check or the system status check is
impaired
, the health status of the instance isunhealthy
. Otherwise, the health status ishealthy
.- Parameters:
instanceHealth
- The health status of the instance. If the status of either the instance status check or the system status check isimpaired
, the health status of the instance isunhealthy
. Otherwise, the health status ishealthy
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-