// *** 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.gcp.container.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AwsNodePoolConfigInstancePlacementArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsNodePoolConfigInstancePlacementArgs Empty = new AwsNodePoolConfigInstancePlacementArgs();

    /**
     * The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
     * 
     */
    @Import(name="tenancy")
    private @Nullable Output<String> tenancy;

    /**
     * @return The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
     * 
     */
    public Optional<Output<String>> tenancy() {
        return Optional.ofNullable(this.tenancy);
    }

    private AwsNodePoolConfigInstancePlacementArgs() {}

    private AwsNodePoolConfigInstancePlacementArgs(AwsNodePoolConfigInstancePlacementArgs $) {
        this.tenancy = $.tenancy;
    }

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

    public static final class Builder {
        private AwsNodePoolConfigInstancePlacementArgs $;

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

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

        /**
         * @param tenancy The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
         * 
         * @return builder
         * 
         */
        public Builder tenancy(@Nullable Output<String> tenancy) {
            $.tenancy = tenancy;
            return this;
        }

        /**
         * @param tenancy The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
         * 
         * @return builder
         * 
         */
        public Builder tenancy(String tenancy) {
            return tenancy(Output.of(tenancy));
        }

        public AwsNodePoolConfigInstancePlacementArgs build() {
            return $;
        }
    }

}
