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

com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetGatewayInterfaceArgs Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.CloudProject.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;


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

    public static final GetGatewayInterfaceArgs Empty = new GetGatewayInterfaceArgs();

    /**
     * ID of the gateway
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return ID of the gateway
     * 
     */
    public Output id() {
        return this.id;
    }

    /**
     * ID of the interface
     * 
     */
    @Import(name="interfaceId", required=true)
    private Output interfaceId;

    /**
     * @return ID of the interface
     * 
     */
    public Output interfaceId() {
        return this.interfaceId;
    }

    /**
     * Region of the gateway
     * 
     */
    @Import(name="region", required=true)
    private Output region;

    /**
     * @return Region of the gateway
     * 
     */
    public Output region() {
        return this.region;
    }

    /**
     * ID of the cloud project
     * 
     */
    @Import(name="serviceName", required=true)
    private Output serviceName;

    /**
     * @return ID of the cloud project
     * 
     */
    public Output serviceName() {
        return this.serviceName;
    }

    private GetGatewayInterfaceArgs() {}

    private GetGatewayInterfaceArgs(GetGatewayInterfaceArgs $) {
        this.id = $.id;
        this.interfaceId = $.interfaceId;
        this.region = $.region;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private GetGatewayInterfaceArgs $;

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

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

        /**
         * @param id ID of the gateway
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id ID of the gateway
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param interfaceId ID of the interface
         * 
         * @return builder
         * 
         */
        public Builder interfaceId(Output interfaceId) {
            $.interfaceId = interfaceId;
            return this;
        }

        /**
         * @param interfaceId ID of the interface
         * 
         * @return builder
         * 
         */
        public Builder interfaceId(String interfaceId) {
            return interfaceId(Output.of(interfaceId));
        }

        /**
         * @param region Region of the gateway
         * 
         * @return builder
         * 
         */
        public Builder region(Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Region of the gateway
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        /**
         * @param serviceName ID of the cloud project
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName ID of the cloud project
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        public GetGatewayInterfaceArgs build() {
            if ($.id == null) {
                throw new MissingRequiredPropertyException("GetGatewayInterfaceArgs", "id");
            }
            if ($.interfaceId == null) {
                throw new MissingRequiredPropertyException("GetGatewayInterfaceArgs", "interfaceId");
            }
            if ($.region == null) {
                throw new MissingRequiredPropertyException("GetGatewayInterfaceArgs", "region");
            }
            if ($.serviceName == null) {
                throw new MissingRequiredPropertyException("GetGatewayInterfaceArgs", "serviceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy