Interface HorizontalPodAutoscalerControllerVersionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HorizontalPodAutoscalerControllerVersionConfig.Builder,,HorizontalPodAutoscalerControllerVersionConfig> SdkBuilder<HorizontalPodAutoscalerControllerVersionConfig.Builder,,HorizontalPodAutoscalerControllerVersionConfig> SdkPojo
- Enclosing class:
HorizontalPodAutoscalerControllerVersionConfig
@Mutable
@NotThreadSafe
public static interface HorizontalPodAutoscalerControllerVersionConfig.Builder
extends SdkPojo, CopyableBuilder<HorizontalPodAutoscalerControllerVersionConfig.Builder,HorizontalPodAutoscalerControllerVersionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionhorizontalPodAutoscalerSyncPeriod(Consumer<DurationParameterConfig.Builder> horizontalPodAutoscalerSyncPeriod) The HPA sync period configuration with default value and constraints.horizontalPodAutoscalerSyncPeriod(DurationParameterConfig horizontalPodAutoscalerSyncPeriod) The HPA sync period 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
-
horizontalPodAutoscalerSyncPeriod
HorizontalPodAutoscalerControllerVersionConfig.Builder horizontalPodAutoscalerSyncPeriod(DurationParameterConfig horizontalPodAutoscalerSyncPeriod) The HPA sync period configuration with default value and constraints.
- Parameters:
horizontalPodAutoscalerSyncPeriod- The HPA sync period configuration with default value and constraints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
horizontalPodAutoscalerSyncPeriod
default HorizontalPodAutoscalerControllerVersionConfig.Builder horizontalPodAutoscalerSyncPeriod(Consumer<DurationParameterConfig.Builder> horizontalPodAutoscalerSyncPeriod) The HPA sync period configuration with default value and constraints.
This is a convenience method that creates an instance of theDurationParameterConfig.Builderavoiding the need to create one manually viaDurationParameterConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohorizontalPodAutoscalerSyncPeriod(DurationParameterConfig).- Parameters:
horizontalPodAutoscalerSyncPeriod- a consumer that will call methods onDurationParameterConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-