All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dataproc.v1.inputs.NodeGroupAffinityArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.dataproc.v1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


/**
 * Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource.
 * 
 */
public final class NodeGroupAffinityArgs extends com.pulumi.resources.ResourceArgs {

    public static final NodeGroupAffinityArgs Empty = new NodeGroupAffinityArgs();

    /**
     * The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1
     * 
     */
    @Import(name="nodeGroupUri", required=true)
    private Output nodeGroupUri;

    /**
     * @return The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1
     * 
     */
    public Output nodeGroupUri() {
        return this.nodeGroupUri;
    }

    private NodeGroupAffinityArgs() {}

    private NodeGroupAffinityArgs(NodeGroupAffinityArgs $) {
        this.nodeGroupUri = $.nodeGroupUri;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(NodeGroupAffinityArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private NodeGroupAffinityArgs $;

        public Builder() {
            $ = new NodeGroupAffinityArgs();
        }

        public Builder(NodeGroupAffinityArgs defaults) {
            $ = new NodeGroupAffinityArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param nodeGroupUri The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1
         * 
         * @return builder
         * 
         */
        public Builder nodeGroupUri(Output nodeGroupUri) {
            $.nodeGroupUri = nodeGroupUri;
            return this;
        }

        /**
         * @param nodeGroupUri The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1
         * 
         * @return builder
         * 
         */
        public Builder nodeGroupUri(String nodeGroupUri) {
            return nodeGroupUri(Output.of(nodeGroupUri));
        }

        public NodeGroupAffinityArgs build() {
            $.nodeGroupUri = Objects.requireNonNull($.nodeGroupUri, "expected parameter 'nodeGroupUri' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy