Interface AvailabilityZoneImpairmentPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AvailabilityZoneImpairmentPolicy.Builder,
,AvailabilityZoneImpairmentPolicy> SdkBuilder<AvailabilityZoneImpairmentPolicy.Builder,
,AvailabilityZoneImpairmentPolicy> SdkPojo
- Enclosing class:
AvailabilityZoneImpairmentPolicy
-
Method Summary
Modifier and TypeMethodDescriptionimpairedZoneHealthCheckBehavior
(String impairedZoneHealthCheckBehavior) Specifies the health check behavior for the impaired Availability Zone in an active zonal shift.impairedZoneHealthCheckBehavior
(ImpairedZoneHealthCheckBehavior impairedZoneHealthCheckBehavior) Specifies the health check behavior for the impaired Availability Zone in an active zonal shift.zonalShiftEnabled
(Boolean zonalShiftEnabled) Iftrue
, enable zonal shift for your Auto Scaling group.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, sdkFieldNameToField, sdkFields
-
Method Details
-
zonalShiftEnabled
If
true
, enable zonal shift for your Auto Scaling group.- Parameters:
zonalShiftEnabled
- Iftrue
, enable zonal shift for your Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impairedZoneHealthCheckBehavior
AvailabilityZoneImpairmentPolicy.Builder impairedZoneHealthCheckBehavior(String impairedZoneHealthCheckBehavior) Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select
Replace unhealthy
, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy
, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.- Parameters:
impairedZoneHealthCheckBehavior
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you selectReplace unhealthy
, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy
, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impairedZoneHealthCheckBehavior
AvailabilityZoneImpairmentPolicy.Builder impairedZoneHealthCheckBehavior(ImpairedZoneHealthCheckBehavior impairedZoneHealthCheckBehavior) Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select
Replace unhealthy
, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy
, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.- Parameters:
impairedZoneHealthCheckBehavior
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you selectReplace unhealthy
, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy
, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-