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