Interface EksResourceScalingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EksResourceScalingConfiguration.Builder,,EksResourceScalingConfiguration> SdkBuilder<EksResourceScalingConfiguration.Builder,,EksResourceScalingConfiguration> SdkPojo
- Enclosing class:
EksResourceScalingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncapacityMonitoringApproach(String capacityMonitoringApproach) The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.capacityMonitoringApproach(EksCapacityMonitoringApproach capacityMonitoringApproach) The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.eksClusters(Collection<EksCluster> eksClusters) The clusters for the configuration.eksClusters(Consumer<EksCluster.Builder>... eksClusters) The clusters for the configuration.eksClusters(EksCluster... eksClusters) The clusters for the configuration.kubernetesResourceType(Consumer<KubernetesResourceType.Builder> kubernetesResourceType) The Kubernetes resource type for the configuration.kubernetesResourceType(KubernetesResourceType kubernetesResourceType) The Kubernetes resource type for the configuration.scalingResources(Collection<? extends Map<String, ? extends Map<String, KubernetesScalingResource>>> scalingResources) The scaling resources for the configuration.scalingResources(Map<String, ? extends Map<String, KubernetesScalingResource>>... scalingResources) The scaling resources for the configuration.targetPercent(Integer targetPercent) The target percentage for the configuration.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<EksResourceScalingUngraceful.Builder> ungraceful) The settings for ungraceful execution.ungraceful(EksResourceScalingUngraceful ungraceful) The settings for ungraceful execution.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
-
timeoutMinutes
The timeout value specified for the configuration.
- Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesResourceType
EksResourceScalingConfiguration.Builder kubernetesResourceType(KubernetesResourceType kubernetesResourceType) The Kubernetes resource type for the configuration.
- Parameters:
kubernetesResourceType- The Kubernetes resource type for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesResourceType
default EksResourceScalingConfiguration.Builder kubernetesResourceType(Consumer<KubernetesResourceType.Builder> kubernetesResourceType) The Kubernetes resource type for the configuration.
This is a convenience method that creates an instance of theKubernetesResourceType.Builderavoiding the need to create one manually viaKubernetesResourceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokubernetesResourceType(KubernetesResourceType).- Parameters:
kubernetesResourceType- a consumer that will call methods onKubernetesResourceType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scalingResources
EksResourceScalingConfiguration.Builder scalingResources(Collection<? extends Map<String, ? extends Map<String, KubernetesScalingResource>>> scalingResources) The scaling resources for the configuration.
- Parameters:
scalingResources- The scaling resources for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingResources
EksResourceScalingConfiguration.Builder scalingResources(Map<String, ? extends Map<String, KubernetesScalingResource>>... scalingResources) The scaling resources for the configuration.
- Parameters:
scalingResources- The scaling resources for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksClusters
The clusters for the configuration.
- Parameters:
eksClusters- The clusters for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksClusters
The clusters for the configuration.
- Parameters:
eksClusters- The clusters for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksClusters
The clusters for the configuration.
This is a convenience method that creates an instance of theEksCluster.Builderavoiding the need to create one manually viaEksCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeksClusters(List<EksCluster>).- Parameters:
eksClusters- a consumer that will call methods onEksCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ungraceful
The settings for ungraceful execution.
- Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
default EksResourceScalingConfiguration.Builder ungraceful(Consumer<EksResourceScalingUngraceful.Builder> ungraceful) The settings for ungraceful execution.
This is a convenience method that creates an instance of theEksResourceScalingUngraceful.Builderavoiding the need to create one manually viaEksResourceScalingUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(EksResourceScalingUngraceful).- Parameters:
ungraceful- a consumer that will call methods onEksResourceScalingUngraceful.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetPercent
The target percentage for the configuration.
- Parameters:
targetPercent- The target percentage for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityMonitoringApproach
EksResourceScalingConfiguration.Builder capacityMonitoringApproach(String capacityMonitoringApproach) The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.
- Parameters:
capacityMonitoringApproach- The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityMonitoringApproach
EksResourceScalingConfiguration.Builder capacityMonitoringApproach(EksCapacityMonitoringApproach capacityMonitoringApproach) The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.
- Parameters:
capacityMonitoringApproach- The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-