Interface UpdateClusterConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterConfigRequest.Builder,
,UpdateClusterConfigRequest> EksRequest.Builder
,SdkBuilder<UpdateClusterConfigRequest.Builder,
,UpdateClusterConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessConfig
(Consumer<UpdateAccessConfigRequest.Builder> accessConfig) The access configuration for the cluster.accessConfig
(UpdateAccessConfigRequest accessConfig) The access configuration for the cluster.clientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.computeConfig
(Consumer<ComputeConfigRequest.Builder> computeConfig) Update the configuration of the compute capability of your EKS Auto Mode cluster.computeConfig
(ComputeConfigRequest computeConfig) Update the configuration of the compute capability of your EKS Auto Mode cluster.kubernetesNetworkConfig
(Consumer<KubernetesNetworkConfigRequest.Builder> kubernetesNetworkConfig) Sets the value of the KubernetesNetworkConfig property for this object.kubernetesNetworkConfig
(KubernetesNetworkConfigRequest kubernetesNetworkConfig) Sets the value of the KubernetesNetworkConfig property for this object.logging
(Consumer<Logging.Builder> logging) Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs .Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs .The name of the Amazon EKS cluster to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.remoteNetworkConfig
(Consumer<RemoteNetworkConfigRequest.Builder> remoteNetworkConfig) Sets the value of the RemoteNetworkConfig property for this object.remoteNetworkConfig
(RemoteNetworkConfigRequest remoteNetworkConfig) Sets the value of the RemoteNetworkConfig property for this object.resourcesVpcConfig
(Consumer<VpcConfigRequest.Builder> resourcesVpcConfig) Sets the value of the ResourcesVpcConfig property for this object.resourcesVpcConfig
(VpcConfigRequest resourcesVpcConfig) Sets the value of the ResourcesVpcConfig property for this object.storageConfig
(Consumer<StorageConfigRequest.Builder> storageConfig) Update the configuration of the block storage capability of your EKS Auto Mode cluster.storageConfig
(StorageConfigRequest storageConfig) Update the configuration of the block storage capability of your EKS Auto Mode cluster.upgradePolicy
(Consumer<UpgradePolicyRequest.Builder> upgradePolicy) You can enable or disable extended support for clusters currently on standard support.upgradePolicy
(UpgradePolicyRequest upgradePolicy) You can enable or disable extended support for clusters currently on standard support.zonalShiftConfig
(Consumer<ZonalShiftConfigRequest.Builder> zonalShiftConfig) Enable or disable ARC zonal shift for the cluster.zonalShiftConfig
(ZonalShiftConfigRequest zonalShiftConfig) Enable or disable ARC zonal shift for the cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the Amazon EKS cluster to update.
- Parameters:
name
- The name of the Amazon EKS cluster to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesVpcConfig
Sets the value of the ResourcesVpcConfig property for this object.- Parameters:
resourcesVpcConfig
- The new value for the ResourcesVpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesVpcConfig
default UpdateClusterConfigRequest.Builder resourcesVpcConfig(Consumer<VpcConfigRequest.Builder> resourcesVpcConfig) Sets the value of the ResourcesVpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfigRequest.Builder
avoiding the need to create one manually viaVpcConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesVpcConfig(VpcConfigRequest)
.- Parameters:
resourcesVpcConfig
- a consumer that will call methods onVpcConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logging
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs . By default, cluster control plane logs aren't exported to CloudWatch Logs . For more information, see Amazon EKS cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
- Parameters:
logging
- Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs . By default, cluster control plane logs aren't exported to CloudWatch Logs . For more information, see Amazon EKS cluster control plane logs in the Amazon EKS User Guide .CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs . By default, cluster control plane logs aren't exported to CloudWatch Logs . For more information, see Amazon EKS cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
Logging.Builder
avoiding the need to create one manually viaLogging.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologging(Logging)
.- Parameters:
logging
- a consumer that will call methods onLogging.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessConfig
The access configuration for the cluster.
- Parameters:
accessConfig
- The access configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessConfig
default UpdateClusterConfigRequest.Builder accessConfig(Consumer<UpdateAccessConfigRequest.Builder> accessConfig) The access configuration for the cluster.
This is a convenience method that creates an instance of theUpdateAccessConfigRequest.Builder
avoiding the need to create one manually viaUpdateAccessConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessConfig(UpdateAccessConfigRequest)
.- Parameters:
accessConfig
- a consumer that will call methods onUpdateAccessConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upgradePolicy
You can enable or disable extended support for clusters currently on standard support. You cannot disable extended support once it starts. You must enable extended support before your cluster exits standard support.
- Parameters:
upgradePolicy
- You can enable or disable extended support for clusters currently on standard support. You cannot disable extended support once it starts. You must enable extended support before your cluster exits standard support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradePolicy
default UpdateClusterConfigRequest.Builder upgradePolicy(Consumer<UpgradePolicyRequest.Builder> upgradePolicy) You can enable or disable extended support for clusters currently on standard support. You cannot disable extended support once it starts. You must enable extended support before your cluster exits standard support.
This is a convenience method that creates an instance of theUpgradePolicyRequest.Builder
avoiding the need to create one manually viaUpgradePolicyRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupgradePolicy(UpgradePolicyRequest)
.- Parameters:
upgradePolicy
- a consumer that will call methods onUpgradePolicyRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
zonalShiftConfig
Enable or disable ARC zonal shift for the cluster. If zonal shift is enabled, Amazon Web Services configures zonal autoshift for the cluster.
Zonal shift is a feature of Amazon Application Recovery Controller (ARC). ARC zonal shift is designed to be a temporary measure that allows you to move traffic for a resource away from an impaired AZ until the zonal shift expires or you cancel it. You can extend the zonal shift if necessary.
You can start a zonal shift for an EKS cluster, or you can allow Amazon Web Services to do it for you by enabling zonal autoshift. This shift updates the flow of east-to-west network traffic in your cluster to only consider network endpoints for Pods running on worker nodes in healthy AZs. Additionally, any ALB or NLB handling ingress traffic for applications in your EKS cluster will automatically route traffic to targets in the healthy AZs. For more information about zonal shift in EKS, see Learn about Amazon Application Recovery Controller (ARC) Zonal Shift in Amazon EKS in the Amazon EKS User Guide .
- Parameters:
zonalShiftConfig
- Enable or disable ARC zonal shift for the cluster. If zonal shift is enabled, Amazon Web Services configures zonal autoshift for the cluster.Zonal shift is a feature of Amazon Application Recovery Controller (ARC). ARC zonal shift is designed to be a temporary measure that allows you to move traffic for a resource away from an impaired AZ until the zonal shift expires or you cancel it. You can extend the zonal shift if necessary.
You can start a zonal shift for an EKS cluster, or you can allow Amazon Web Services to do it for you by enabling zonal autoshift. This shift updates the flow of east-to-west network traffic in your cluster to only consider network endpoints for Pods running on worker nodes in healthy AZs. Additionally, any ALB or NLB handling ingress traffic for applications in your EKS cluster will automatically route traffic to targets in the healthy AZs. For more information about zonal shift in EKS, see Learn about Amazon Application Recovery Controller (ARC) Zonal Shift in Amazon EKS in the Amazon EKS User Guide .
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zonalShiftConfig
default UpdateClusterConfigRequest.Builder zonalShiftConfig(Consumer<ZonalShiftConfigRequest.Builder> zonalShiftConfig) Enable or disable ARC zonal shift for the cluster. If zonal shift is enabled, Amazon Web Services configures zonal autoshift for the cluster.
Zonal shift is a feature of Amazon Application Recovery Controller (ARC). ARC zonal shift is designed to be a temporary measure that allows you to move traffic for a resource away from an impaired AZ until the zonal shift expires or you cancel it. You can extend the zonal shift if necessary.
You can start a zonal shift for an EKS cluster, or you can allow Amazon Web Services to do it for you by enabling zonal autoshift. This shift updates the flow of east-to-west network traffic in your cluster to only consider network endpoints for Pods running on worker nodes in healthy AZs. Additionally, any ALB or NLB handling ingress traffic for applications in your EKS cluster will automatically route traffic to targets in the healthy AZs. For more information about zonal shift in EKS, see Learn about Amazon Application Recovery Controller (ARC) Zonal Shift in Amazon EKS in the Amazon EKS User Guide .
This is a convenience method that creates an instance of theZonalShiftConfigRequest.Builder
avoiding the need to create one manually viaZonalShiftConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tozonalShiftConfig(ZonalShiftConfigRequest)
.- Parameters:
zonalShiftConfig
- a consumer that will call methods onZonalShiftConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computeConfig
Update the configuration of the compute capability of your EKS Auto Mode cluster. For example, enable the capability.
- Parameters:
computeConfig
- Update the configuration of the compute capability of your EKS Auto Mode cluster. For example, enable the capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeConfig
default UpdateClusterConfigRequest.Builder computeConfig(Consumer<ComputeConfigRequest.Builder> computeConfig) Update the configuration of the compute capability of your EKS Auto Mode cluster. For example, enable the capability.
This is a convenience method that creates an instance of theComputeConfigRequest.Builder
avoiding the need to create one manually viaComputeConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeConfig(ComputeConfigRequest)
.- Parameters:
computeConfig
- a consumer that will call methods onComputeConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kubernetesNetworkConfig
UpdateClusterConfigRequest.Builder kubernetesNetworkConfig(KubernetesNetworkConfigRequest kubernetesNetworkConfig) Sets the value of the KubernetesNetworkConfig property for this object.- Parameters:
kubernetesNetworkConfig
- The new value for the KubernetesNetworkConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesNetworkConfig
default UpdateClusterConfigRequest.Builder kubernetesNetworkConfig(Consumer<KubernetesNetworkConfigRequest.Builder> kubernetesNetworkConfig) Sets the value of the KubernetesNetworkConfig property for this object. This is a convenience method that creates an instance of theKubernetesNetworkConfigRequest.Builder
avoiding the need to create one manually viaKubernetesNetworkConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokubernetesNetworkConfig(KubernetesNetworkConfigRequest)
.- Parameters:
kubernetesNetworkConfig
- a consumer that will call methods onKubernetesNetworkConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageConfig
Update the configuration of the block storage capability of your EKS Auto Mode cluster. For example, enable the capability.
- Parameters:
storageConfig
- Update the configuration of the block storage capability of your EKS Auto Mode cluster. For example, enable the capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfig
default UpdateClusterConfigRequest.Builder storageConfig(Consumer<StorageConfigRequest.Builder> storageConfig) Update the configuration of the block storage capability of your EKS Auto Mode cluster. For example, enable the capability.
This is a convenience method that creates an instance of theStorageConfigRequest.Builder
avoiding the need to create one manually viaStorageConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageConfig(StorageConfigRequest)
.- Parameters:
storageConfig
- a consumer that will call methods onStorageConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteNetworkConfig
UpdateClusterConfigRequest.Builder remoteNetworkConfig(RemoteNetworkConfigRequest remoteNetworkConfig) Sets the value of the RemoteNetworkConfig property for this object.- Parameters:
remoteNetworkConfig
- The new value for the RemoteNetworkConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteNetworkConfig
default UpdateClusterConfigRequest.Builder remoteNetworkConfig(Consumer<RemoteNetworkConfigRequest.Builder> remoteNetworkConfig) Sets the value of the RemoteNetworkConfig property for this object. This is a convenience method that creates an instance of theRemoteNetworkConfigRequest.Builder
avoiding the need to create one manually viaRemoteNetworkConfigRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoteNetworkConfig(RemoteNetworkConfigRequest)
.- Parameters:
remoteNetworkConfig
- a consumer that will call methods onRemoteNetworkConfigRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateClusterConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateClusterConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-