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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveInstance.Builder
instanceHealth(String instanceHealth)
The health status of the instance.ActiveInstance.Builder
instanceHealth(InstanceHealthStatus instanceHealth)
The health status of the instance.ActiveInstance.Builder
instanceId(String instanceId)
The ID of the instance.ActiveInstance.Builder
instanceType(String instanceType)
The instance type.ActiveInstance.Builder
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 Detail
-
instanceId
ActiveInstance.Builder instanceId(String 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
ActiveInstance.Builder instanceType(String 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
ActiveInstance.Builder spotInstanceRequestId(String 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
ActiveInstance.Builder instanceHealth(String 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:
InstanceHealthStatus
,InstanceHealthStatus
-
instanceHealth
ActiveInstance.Builder instanceHealth(InstanceHealthStatus 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:
InstanceHealthStatus
,InstanceHealthStatus
-
-