public static class NodePoolOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NodePoolOptions |
build() |
NodePoolOptions.Builder |
copy(NodePoolOptions model) |
NodePoolOptions.Builder |
images(List<String> images)
Deprecated.
|
NodePoolOptions.Builder |
kubernetesVersions(List<String> kubernetesVersions)
Available Kubernetes versions.
|
NodePoolOptions.Builder |
shapes(List<String> shapes)
Available shapes for nodes.
|
NodePoolOptions.Builder |
sources(List<NodeSourceOption> sources)
Available source of the node.
|
public NodePoolOptions.Builder kubernetesVersions(List<String> kubernetesVersions)
Available Kubernetes versions.
kubernetesVersions
- the value to setpublic NodePoolOptions.Builder shapes(List<String> shapes)
Available shapes for nodes.
shapes
- the value to setpublic NodePoolOptions.Builder images(List<String> images)
Deprecated. See sources. When creating a node pool using the CreateNodePoolDetails
object, only image names contained in this property can be passed
to the nodeImageName
property.
images
- the value to setpublic NodePoolOptions.Builder sources(List<NodeSourceOption> sources)
Available source of the node.
sources
- the value to setpublic NodePoolOptions build()
public NodePoolOptions.Builder copy(NodePoolOptions model)
Copyright © 2016–2024. All rights reserved.