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

com.pulumi.cloudngfwaws.inputs.GetNgfwArgs Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha.1731490948
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.cloudngfwaws.inputs;

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


public final class GetNgfwArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetNgfwArgs Empty = new GetNgfwArgs();

    /**
     * The account ID. This field is mandatory if using multiple accounts.
     * 
     */
    @Import(name="accountId")
    private @Nullable Output accountId;

    /**
     * @return The account ID. This field is mandatory if using multiple accounts.
     * 
     */
    public Optional> accountId() {
        return Optional.ofNullable(this.accountId);
    }

    /**
     * The NGFW name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The NGFW name.
     * 
     */
    public Output name() {
        return this.name;
    }

    private GetNgfwArgs() {}

    private GetNgfwArgs(GetNgfwArgs $) {
        this.accountId = $.accountId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetNgfwArgs $;

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

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

        /**
         * @param accountId The account ID. This field is mandatory if using multiple accounts.
         * 
         * @return builder
         * 
         */
        public Builder accountId(@Nullable Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId The account ID. This field is mandatory if using multiple accounts.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param name The NGFW name.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The NGFW name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GetNgfwArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetNgfwArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy