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

com.pulumi.googlenative.vmmigration.v1.inputs.GetTargetProjectPlainArgs 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.vmmigration.v1.inputs;

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 GetTargetProjectPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTargetProjectPlainArgs Empty = new GetTargetProjectPlainArgs();

    @Import(name="location", required=true)
    private String location;

    public String location() {
        return this.location;
    }

    @Import(name="project")
    private @Nullable String project;

    public Optional project() {
        return Optional.ofNullable(this.project);
    }

    @Import(name="targetProjectId", required=true)
    private String targetProjectId;

    public String targetProjectId() {
        return this.targetProjectId;
    }

    private GetTargetProjectPlainArgs() {}

    private GetTargetProjectPlainArgs(GetTargetProjectPlainArgs $) {
        this.location = $.location;
        this.project = $.project;
        this.targetProjectId = $.targetProjectId;
    }

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

    public static final class Builder {
        private GetTargetProjectPlainArgs $;

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

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

        public Builder location(String location) {
            $.location = location;
            return this;
        }

        public Builder project(@Nullable String project) {
            $.project = project;
            return this;
        }

        public Builder targetProjectId(String targetProjectId) {
            $.targetProjectId = targetProjectId;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy