Package com.pulumi.gcp.container
Class AwsNodePoolArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.container.AwsNodePoolArgs.Builder
-
- Enclosing class:
- AwsNodePoolArgs
public static final class AwsNodePoolArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AwsNodePoolArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AwsNodePoolArgs defaults)
-
-
Method Detail
-
annotations
public AwsNodePoolArgs.Builder annotations(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> annotations)
- Parameters:
annotations
- Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.- Returns:
- builder
-
annotations
public AwsNodePoolArgs.Builder annotations(java.util.Map<java.lang.String,java.lang.String> annotations)
- Parameters:
annotations
- Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.- Returns:
- builder
-
autoscaling
public AwsNodePoolArgs.Builder autoscaling(com.pulumi.core.Output<AwsNodePoolAutoscalingArgs> autoscaling)
- Parameters:
autoscaling
- Autoscaler configuration for this node pool.- Returns:
- builder
-
autoscaling
public AwsNodePoolArgs.Builder autoscaling(AwsNodePoolAutoscalingArgs autoscaling)
- Parameters:
autoscaling
- Autoscaler configuration for this node pool.- Returns:
- builder
-
cluster
public AwsNodePoolArgs.Builder cluster(com.pulumi.core.Output<java.lang.String> cluster)
- Parameters:
cluster
- The awsCluster for the resource- Returns:
- builder
-
cluster
public AwsNodePoolArgs.Builder cluster(java.lang.String cluster)
- Parameters:
cluster
- The awsCluster for the resource- Returns:
- builder
-
config
public AwsNodePoolArgs.Builder config(com.pulumi.core.Output<AwsNodePoolConfigArgs> config)
- Parameters:
config
- The configuration of the node pool.- Returns:
- builder
-
config
public AwsNodePoolArgs.Builder config(AwsNodePoolConfigArgs config)
- Parameters:
config
- The configuration of the node pool.- Returns:
- builder
-
location
public AwsNodePoolArgs.Builder location(com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- The location for the resource- Returns:
- builder
-
location
public AwsNodePoolArgs.Builder location(java.lang.String location)
- Parameters:
location
- The location for the resource- Returns:
- builder
-
management
public AwsNodePoolArgs.Builder management(@Nullable com.pulumi.core.Output<AwsNodePoolManagementArgs> management)
- Parameters:
management
- The Management configuration for this node pool.- Returns:
- builder
-
management
public AwsNodePoolArgs.Builder management(AwsNodePoolManagementArgs management)
- Parameters:
management
- The Management configuration for this node pool.- Returns:
- builder
-
maxPodsConstraint
public AwsNodePoolArgs.Builder maxPodsConstraint(com.pulumi.core.Output<AwsNodePoolMaxPodsConstraintArgs> maxPodsConstraint)
- Parameters:
maxPodsConstraint
- The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.- Returns:
- builder
-
maxPodsConstraint
public AwsNodePoolArgs.Builder maxPodsConstraint(AwsNodePoolMaxPodsConstraintArgs maxPodsConstraint)
- Parameters:
maxPodsConstraint
- The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.- Returns:
- builder
-
name
public AwsNodePoolArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of this resource.- Returns:
- builder
-
name
public AwsNodePoolArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of this resource.- Returns:
- builder
-
project
public AwsNodePoolArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The project for the resource- Returns:
- builder
-
project
public AwsNodePoolArgs.Builder project(java.lang.String project)
- Parameters:
project
- The project for the resource- Returns:
- builder
-
subnetId
public AwsNodePoolArgs.Builder subnetId(com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId
- The subnet where the node pool node run.- Returns:
- builder
-
subnetId
public AwsNodePoolArgs.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId
- The subnet where the node pool node run.- Returns:
- builder
-
updateSettings
public AwsNodePoolArgs.Builder updateSettings(@Nullable com.pulumi.core.Output<AwsNodePoolUpdateSettingsArgs> updateSettings)
- Parameters:
updateSettings
- (Beta only) Optional. Update settings control the speed and disruption of the node pool update.- Returns:
- builder
-
updateSettings
public AwsNodePoolArgs.Builder updateSettings(AwsNodePoolUpdateSettingsArgs updateSettings)
- Parameters:
updateSettings
- (Beta only) Optional. Update settings control the speed and disruption of the node pool update.- Returns:
- builder
-
version
public AwsNodePoolArgs.Builder version(com.pulumi.core.Output<java.lang.String> version)
- Parameters:
version
- The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.- Returns:
- builder
-
version
public AwsNodePoolArgs.Builder version(java.lang.String version)
- Parameters:
version
- The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.- Returns:
- builder
-
build
public AwsNodePoolArgs build()
-
-