@Stability(value=Stable) public static final class BootstrapOptions.Builder extends Object implements software.amazon.jsii.Builder<BootstrapOptions>
BootstrapOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BootstrapOptions.Builder |
additionalArgs(String additionalArgs)
Sets the value of
BootstrapOptions.getAdditionalArgs() |
BootstrapOptions.Builder |
awsApiRetryAttempts(Number awsApiRetryAttempts)
Sets the value of
BootstrapOptions.getAwsApiRetryAttempts() |
BootstrapOptions |
build()
Builds the configured instance.
|
BootstrapOptions.Builder |
dockerConfigJson(String dockerConfigJson)
Sets the value of
BootstrapOptions.getDockerConfigJson() |
BootstrapOptions.Builder |
enableDockerBridge(Boolean enableDockerBridge)
Sets the value of
BootstrapOptions.getEnableDockerBridge() |
BootstrapOptions.Builder |
kubeletExtraArgs(String kubeletExtraArgs)
Sets the value of
BootstrapOptions.getKubeletExtraArgs() |
BootstrapOptions.Builder |
useMaxPods(Boolean useMaxPods)
Sets the value of
BootstrapOptions.getUseMaxPods() |
@Stability(value=Stable) public BootstrapOptions.Builder additionalArgs(String additionalArgs)
BootstrapOptions.getAdditionalArgs()additionalArgs - Additional command line arguments to pass to the `/etc/eks/bootstrap.sh` command.this@Stability(value=Stable) public BootstrapOptions.Builder awsApiRetryAttempts(Number awsApiRetryAttempts)
BootstrapOptions.getAwsApiRetryAttempts()awsApiRetryAttempts - Number of retry attempts for AWS API call (DescribeCluster).this@Stability(value=Stable) public BootstrapOptions.Builder dockerConfigJson(String dockerConfigJson)
BootstrapOptions.getDockerConfigJson()dockerConfigJson - The contents of the `/etc/docker/daemon.json` file. Useful if you want a custom config differing from the default one in the EKS AMI.this@Stability(value=Stable) public BootstrapOptions.Builder enableDockerBridge(Boolean enableDockerBridge)
BootstrapOptions.getEnableDockerBridge()enableDockerBridge - Restores the docker default bridge network.this@Stability(value=Stable) public BootstrapOptions.Builder kubeletExtraArgs(String kubeletExtraArgs)
BootstrapOptions.getKubeletExtraArgs()kubeletExtraArgs - Extra arguments to add to the kubelet.
Useful for adding labels or taints.this@Stability(value=Stable) public BootstrapOptions.Builder useMaxPods(Boolean useMaxPods)
BootstrapOptions.getUseMaxPods()useMaxPods - Sets `--max-pods` for the kubelet based on the capacity of the EC2 instance.this@Stability(value=Stable) public BootstrapOptions build()
build in interface software.amazon.jsii.Builder<BootstrapOptions>BootstrapOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.