Class NodePoolState.Builder
- java.lang.Object
-
- com.pulumi.gcp.edgecontainer.inputs.NodePoolState.Builder
-
- Enclosing class:
- NodePoolState
public static final class NodePoolState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(NodePoolState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePoolState
build()
NodePoolState.Builder
cluster(com.pulumi.core.Output<java.lang.String> cluster)
NodePoolState.Builder
cluster(java.lang.String cluster)
NodePoolState.Builder
createTime(com.pulumi.core.Output<java.lang.String> createTime)
NodePoolState.Builder
createTime(java.lang.String createTime)
NodePoolState.Builder
effectiveLabels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> effectiveLabels)
NodePoolState.Builder
effectiveLabels(java.util.Map<java.lang.String,java.lang.String> effectiveLabels)
NodePoolState.Builder
labels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
NodePoolState.Builder
labels(java.util.Map<java.lang.String,java.lang.String> labels)
NodePoolState.Builder
localDiskEncryption(com.pulumi.core.Output<NodePoolLocalDiskEncryptionArgs> localDiskEncryption)
NodePoolState.Builder
localDiskEncryption(NodePoolLocalDiskEncryptionArgs localDiskEncryption)
NodePoolState.Builder
location(com.pulumi.core.Output<java.lang.String> location)
NodePoolState.Builder
location(java.lang.String location)
NodePoolState.Builder
machineFilter(com.pulumi.core.Output<java.lang.String> machineFilter)
NodePoolState.Builder
machineFilter(java.lang.String machineFilter)
NodePoolState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
NodePoolState.Builder
name(java.lang.String name)
NodePoolState.Builder
nodeConfig(com.pulumi.core.Output<NodePoolNodeConfigArgs> nodeConfig)
NodePoolState.Builder
nodeConfig(NodePoolNodeConfigArgs nodeConfig)
NodePoolState.Builder
nodeCount(com.pulumi.core.Output<java.lang.Integer> nodeCount)
NodePoolState.Builder
nodeCount(java.lang.Integer nodeCount)
NodePoolState.Builder
nodeLocation(com.pulumi.core.Output<java.lang.String> nodeLocation)
NodePoolState.Builder
nodeLocation(java.lang.String nodeLocation)
NodePoolState.Builder
nodeVersion(com.pulumi.core.Output<java.lang.String> nodeVersion)
NodePoolState.Builder
nodeVersion(java.lang.String nodeVersion)
NodePoolState.Builder
project(com.pulumi.core.Output<java.lang.String> project)
NodePoolState.Builder
project(java.lang.String project)
NodePoolState.Builder
pulumiLabels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> pulumiLabels)
NodePoolState.Builder
pulumiLabels(java.util.Map<java.lang.String,java.lang.String> pulumiLabels)
NodePoolState.Builder
updateTime(com.pulumi.core.Output<java.lang.String> updateTime)
NodePoolState.Builder
updateTime(java.lang.String updateTime)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NodePoolState defaults)
-
-
Method Detail
-
cluster
public NodePoolState.Builder cluster(@Nullable com.pulumi.core.Output<java.lang.String> cluster)
- Parameters:
cluster
- The name of the target Distributed Cloud Edge Cluster. ***- Returns:
- builder
-
cluster
public NodePoolState.Builder cluster(java.lang.String cluster)
- Parameters:
cluster
- The name of the target Distributed Cloud Edge Cluster. ***- Returns:
- builder
-
createTime
public NodePoolState.Builder createTime(@Nullable com.pulumi.core.Output<java.lang.String> createTime)
- Parameters:
createTime
- The time when the node pool was created.- Returns:
- builder
-
createTime
public NodePoolState.Builder createTime(java.lang.String createTime)
- Parameters:
createTime
- The time when the node pool was created.- Returns:
- builder
-
effectiveLabels
public NodePoolState.Builder effectiveLabels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> effectiveLabels)
- Parameters:
effectiveLabels
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.- Returns:
- builder
-
effectiveLabels
public NodePoolState.Builder effectiveLabels(java.util.Map<java.lang.String,java.lang.String> effectiveLabels)
- Parameters:
effectiveLabels
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.- Returns:
- builder
-
labels
public NodePoolState.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
- Parameters:
labels
- Labels associated with this resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.- Returns:
- builder
-
labels
public NodePoolState.Builder labels(java.util.Map<java.lang.String,java.lang.String> labels)
- Parameters:
labels
- Labels associated with this resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.- Returns:
- builder
-
localDiskEncryption
public NodePoolState.Builder localDiskEncryption(@Nullable com.pulumi.core.Output<NodePoolLocalDiskEncryptionArgs> localDiskEncryption)
- Parameters:
localDiskEncryption
- Local disk encryption options. This field is only used when enabling CMEK support. Structure is documented below.- Returns:
- builder
-
localDiskEncryption
public NodePoolState.Builder localDiskEncryption(NodePoolLocalDiskEncryptionArgs localDiskEncryption)
- Parameters:
localDiskEncryption
- Local disk encryption options. This field is only used when enabling CMEK support. Structure is documented below.- Returns:
- builder
-
location
public NodePoolState.Builder location(@Nullable com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- The location of the resource.- Returns:
- builder
-
location
public NodePoolState.Builder location(java.lang.String location)
- Parameters:
location
- The location of the resource.- Returns:
- builder
-
machineFilter
public NodePoolState.Builder machineFilter(@Nullable com.pulumi.core.Output<java.lang.String> machineFilter)
- Parameters:
machineFilter
- Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).- Returns:
- builder
-
machineFilter
public NodePoolState.Builder machineFilter(java.lang.String machineFilter)
- Parameters:
machineFilter
- Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).- Returns:
- builder
-
name
public NodePoolState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The resource name of the node pool.- Returns:
- builder
-
name
public NodePoolState.Builder name(java.lang.String name)
- Parameters:
name
- The resource name of the node pool.- Returns:
- builder
-
nodeConfig
public NodePoolState.Builder nodeConfig(@Nullable com.pulumi.core.Output<NodePoolNodeConfigArgs> nodeConfig)
- Parameters:
nodeConfig
- Configuration for each node in the NodePool Structure is documented below.- Returns:
- builder
-
nodeConfig
public NodePoolState.Builder nodeConfig(NodePoolNodeConfigArgs nodeConfig)
- Parameters:
nodeConfig
- Configuration for each node in the NodePool Structure is documented below.- Returns:
- builder
-
nodeCount
public NodePoolState.Builder nodeCount(@Nullable com.pulumi.core.Output<java.lang.Integer> nodeCount)
- Parameters:
nodeCount
- The number of nodes in the pool.- Returns:
- builder
-
nodeCount
public NodePoolState.Builder nodeCount(java.lang.Integer nodeCount)
- Parameters:
nodeCount
- The number of nodes in the pool.- Returns:
- builder
-
nodeLocation
public NodePoolState.Builder nodeLocation(@Nullable com.pulumi.core.Output<java.lang.String> nodeLocation)
- Parameters:
nodeLocation
- Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.- Returns:
- builder
-
nodeLocation
public NodePoolState.Builder nodeLocation(java.lang.String nodeLocation)
- Parameters:
nodeLocation
- Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.- Returns:
- builder
-
nodeVersion
public NodePoolState.Builder nodeVersion(@Nullable com.pulumi.core.Output<java.lang.String> nodeVersion)
- Parameters:
nodeVersion
- The lowest release version among all worker nodes.- Returns:
- builder
-
nodeVersion
public NodePoolState.Builder nodeVersion(java.lang.String nodeVersion)
- Parameters:
nodeVersion
- The lowest release version among all worker nodes.- Returns:
- builder
-
project
public NodePoolState.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
project
public NodePoolState.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
pulumiLabels
public NodePoolState.Builder pulumiLabels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> pulumiLabels)
- Parameters:
pulumiLabels
- The combination of labels configured directly on the resource and default labels configured on the provider.- Returns:
- builder
-
pulumiLabels
public NodePoolState.Builder pulumiLabels(java.util.Map<java.lang.String,java.lang.String> pulumiLabels)
- Parameters:
pulumiLabels
- The combination of labels configured directly on the resource and default labels configured on the provider.- Returns:
- builder
-
updateTime
public NodePoolState.Builder updateTime(@Nullable com.pulumi.core.Output<java.lang.String> updateTime)
- Parameters:
updateTime
- The time when the node pool was last updated.- Returns:
- builder
-
updateTime
public NodePoolState.Builder updateTime(java.lang.String updateTime)
- Parameters:
updateTime
- The time when the node pool was last updated.- Returns:
- builder
-
build
public NodePoolState build()
-
-