Interface ThresholdConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThresholdConfiguration.Builder,,ThresholdConfiguration> SdkBuilder<ThresholdConfiguration.Builder,,ThresholdConfiguration> SdkPojo
- Enclosing class:
ThresholdConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionDetermines howvalueis used to calculate the failure threshold.type(ThresholdType type) Determines howvalueis used to calculate the failure threshold.The integer used to calculate the failure threshold.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
-
type
Determines how
valueis used to calculate the failure threshold. For the percentage types (BOUNDED_PERCENTandUNBOUNDED_PERCENT),valueis multiplied by the latest service desired count; forCOUNT,valueis used directly. The default isBOUNDED_PERCENT.- Parameters:
type- Determines howvalueis used to calculate the failure threshold. For the percentage types (BOUNDED_PERCENTandUNBOUNDED_PERCENT),valueis multiplied by the latest service desired count; forCOUNT,valueis used directly. The default isBOUNDED_PERCENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Determines how
valueis used to calculate the failure threshold. For the percentage types (BOUNDED_PERCENTandUNBOUNDED_PERCENT),valueis multiplied by the latest service desired count; forCOUNT,valueis used directly. The default isBOUNDED_PERCENT.- Parameters:
type- Determines howvalueis used to calculate the failure threshold. For the percentage types (BOUNDED_PERCENTandUNBOUNDED_PERCENT),valueis multiplied by the latest service desired count; forCOUNT,valueis used directly. The default isBOUNDED_PERCENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The integer used to calculate the failure threshold. When
typeisCOUNT, this is the failure threshold itself. Whentypeis a percentage type, this is the percentage that Amazon ECS multiplies by the latest service desired count to calculate the failure threshold.- Parameters:
value- The integer used to calculate the failure threshold. WhentypeisCOUNT, this is the failure threshold itself. Whentypeis a percentage type, this is the percentage that Amazon ECS multiplies by the latest service desired count to calculate the failure threshold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-