Interface PodGcControllerVersionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PodGcControllerVersionConfig.Builder,,PodGcControllerVersionConfig> SdkBuilder<PodGcControllerVersionConfig.Builder,,PodGcControllerVersionConfig> SdkPojo
- Enclosing class:
PodGcControllerVersionConfig
@Mutable
@NotThreadSafe
public static interface PodGcControllerVersionConfig.Builder
extends SdkPojo, CopyableBuilder<PodGcControllerVersionConfig.Builder,PodGcControllerVersionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionterminatedPodGcThreshold(Consumer<IntegerParameterConfig.Builder> terminatedPodGcThreshold) The terminated pod garbage collection threshold configuration with default value and constraints.terminatedPodGcThreshold(IntegerParameterConfig terminatedPodGcThreshold) The terminated pod garbage collection threshold configuration with default value and constraints.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
-
terminatedPodGcThreshold
PodGcControllerVersionConfig.Builder terminatedPodGcThreshold(IntegerParameterConfig terminatedPodGcThreshold) The terminated pod garbage collection threshold configuration with default value and constraints.
- Parameters:
terminatedPodGcThreshold- The terminated pod garbage collection threshold configuration with default value and constraints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminatedPodGcThreshold
default PodGcControllerVersionConfig.Builder terminatedPodGcThreshold(Consumer<IntegerParameterConfig.Builder> terminatedPodGcThreshold) The terminated pod garbage collection threshold configuration with default value and constraints.
This is a convenience method that creates an instance of theIntegerParameterConfig.Builderavoiding the need to create one manually viaIntegerParameterConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toterminatedPodGcThreshold(IntegerParameterConfig).- Parameters:
terminatedPodGcThreshold- a consumer that will call methods onIntegerParameterConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-