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

com.pulumi.azurenative.security.inputs.GcpProjectDetailsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.azurenative.security.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;


/**
 * The details about the project represented by the security connector
 * 
 */
public final class GcpProjectDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final GcpProjectDetailsArgs Empty = new GcpProjectDetailsArgs();

    /**
     * The GCP Project id
     * 
     */
    @Import(name="projectId")
    private @Nullable Output projectId;

    /**
     * @return The GCP Project id
     * 
     */
    public Optional> projectId() {
        return Optional.ofNullable(this.projectId);
    }

    /**
     * The unique GCP Project number
     * 
     */
    @Import(name="projectNumber")
    private @Nullable Output projectNumber;

    /**
     * @return The unique GCP Project number
     * 
     */
    public Optional> projectNumber() {
        return Optional.ofNullable(this.projectNumber);
    }

    private GcpProjectDetailsArgs() {}

    private GcpProjectDetailsArgs(GcpProjectDetailsArgs $) {
        this.projectId = $.projectId;
        this.projectNumber = $.projectNumber;
    }

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

    public static final class Builder {
        private GcpProjectDetailsArgs $;

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

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

        /**
         * @param projectId The GCP Project id
         * 
         * @return builder
         * 
         */
        public Builder projectId(@Nullable Output projectId) {
            $.projectId = projectId;
            return this;
        }

        /**
         * @param projectId The GCP Project id
         * 
         * @return builder
         * 
         */
        public Builder projectId(String projectId) {
            return projectId(Output.of(projectId));
        }

        /**
         * @param projectNumber The unique GCP Project number
         * 
         * @return builder
         * 
         */
        public Builder projectNumber(@Nullable Output projectNumber) {
            $.projectNumber = projectNumber;
            return this;
        }

        /**
         * @param projectNumber The unique GCP Project number
         * 
         * @return builder
         * 
         */
        public Builder projectNumber(String projectNumber) {
            return projectNumber(Output.of(projectNumber));
        }

        public GcpProjectDetailsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy