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

com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigScmIpRestrictionArgs 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.azure.logicapps.inputs;

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


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

    public static final GetStandardSiteConfigScmIpRestrictionArgs Empty = new GetStandardSiteConfigScmIpRestrictionArgs();

    @Import(name="action")
    private @Nullable Output action;

    public Optional> action() {
        return Optional.ofNullable(this.action);
    }

    @Import(name="headers", required=true)
    private Output headers;

    public Output headers() {
        return this.headers;
    }

    @Import(name="ipAddress")
    private @Nullable Output ipAddress;

    public Optional> ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }

    /**
     * The name of this Logic App.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of this Logic App.
     * 
     */
    public Output name() {
        return this.name;
    }

    @Import(name="priority")
    private @Nullable Output priority;

    public Optional> priority() {
        return Optional.ofNullable(this.priority);
    }

    @Import(name="serviceTag")
    private @Nullable Output serviceTag;

    public Optional> serviceTag() {
        return Optional.ofNullable(this.serviceTag);
    }

    @Import(name="virtualNetworkSubnetId")
    private @Nullable Output virtualNetworkSubnetId;

    public Optional> virtualNetworkSubnetId() {
        return Optional.ofNullable(this.virtualNetworkSubnetId);
    }

    private GetStandardSiteConfigScmIpRestrictionArgs() {}

    private GetStandardSiteConfigScmIpRestrictionArgs(GetStandardSiteConfigScmIpRestrictionArgs $) {
        this.action = $.action;
        this.headers = $.headers;
        this.ipAddress = $.ipAddress;
        this.name = $.name;
        this.priority = $.priority;
        this.serviceTag = $.serviceTag;
        this.virtualNetworkSubnetId = $.virtualNetworkSubnetId;
    }

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

    public static final class Builder {
        private GetStandardSiteConfigScmIpRestrictionArgs $;

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

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

        public Builder action(@Nullable Output action) {
            $.action = action;
            return this;
        }

        public Builder action(String action) {
            return action(Output.of(action));
        }

        public Builder headers(Output headers) {
            $.headers = headers;
            return this;
        }

        public Builder headers(GetStandardSiteConfigScmIpRestrictionHeadersArgs headers) {
            return headers(Output.of(headers));
        }

        public Builder ipAddress(@Nullable Output ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        public Builder ipAddress(String ipAddress) {
            return ipAddress(Output.of(ipAddress));
        }

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

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

        public Builder priority(@Nullable Output priority) {
            $.priority = priority;
            return this;
        }

        public Builder priority(Integer priority) {
            return priority(Output.of(priority));
        }

        public Builder serviceTag(@Nullable Output serviceTag) {
            $.serviceTag = serviceTag;
            return this;
        }

        public Builder serviceTag(String serviceTag) {
            return serviceTag(Output.of(serviceTag));
        }

        public Builder virtualNetworkSubnetId(@Nullable Output virtualNetworkSubnetId) {
            $.virtualNetworkSubnetId = virtualNetworkSubnetId;
            return this;
        }

        public Builder virtualNetworkSubnetId(String virtualNetworkSubnetId) {
            return virtualNetworkSubnetId(Output.of(virtualNetworkSubnetId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy