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

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


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

    public static final NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs Empty = new NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs();

    @Import(name="instancePort")
    private @Nullable Output<Integer> instancePort;

    public Optional<Output<Integer>> instancePort() {
        return Optional.ofNullable(this.instancePort);
    }

    @Import(name="loadBalancerPort")
    private @Nullable Output<Integer> loadBalancerPort;

    public Optional<Output<Integer>> loadBalancerPort() {
        return Optional.ofNullable(this.loadBalancerPort);
    }

    private NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs() {}

    private NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs(NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs $) {
        this.instancePort = $.instancePort;
        this.loadBalancerPort = $.loadBalancerPort;
    }

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

    public static final class Builder {
        private NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs $;

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

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

        public Builder instancePort(@Nullable Output<Integer> instancePort) {
            $.instancePort = instancePort;
            return this;
        }

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

        public Builder loadBalancerPort(@Nullable Output<Integer> loadBalancerPort) {
            $.loadBalancerPort = loadBalancerPort;
            return this;
        }

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

        public NetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArgs build() {
            return $;
        }
    }

}
