// *** 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.aws.apprunner.inputs;

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


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

    public static final ServiceNetworkConfigurationIngressConfigurationArgs Empty = new ServiceNetworkConfigurationIngressConfigurationArgs();

    /**
     * Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
     * 
     */
    @Import(name="isPubliclyAccessible")
    private @Nullable Output<Boolean> isPubliclyAccessible;

    /**
     * @return Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
     * 
     */
    public Optional<Output<Boolean>> isPubliclyAccessible() {
        return Optional.ofNullable(this.isPubliclyAccessible);
    }

    private ServiceNetworkConfigurationIngressConfigurationArgs() {}

    private ServiceNetworkConfigurationIngressConfigurationArgs(ServiceNetworkConfigurationIngressConfigurationArgs $) {
        this.isPubliclyAccessible = $.isPubliclyAccessible;
    }

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

    public static final class Builder {
        private ServiceNetworkConfigurationIngressConfigurationArgs $;

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

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

        /**
         * @param isPubliclyAccessible Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
         * 
         * @return builder
         * 
         */
        public Builder isPubliclyAccessible(@Nullable Output<Boolean> isPubliclyAccessible) {
            $.isPubliclyAccessible = isPubliclyAccessible;
            return this;
        }

        /**
         * @param isPubliclyAccessible Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
         * 
         * @return builder
         * 
         */
        public Builder isPubliclyAccessible(Boolean isPubliclyAccessible) {
            return isPubliclyAccessible(Output.of(isPubliclyAccessible));
        }

        public ServiceNetworkConfigurationIngressConfigurationArgs build() {
            return $;
        }
    }

}
