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

com.pulumi.aws.networkfirewall.outputs.TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.networkfirewall.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort {
    /**
     * @return The lower limit of the port range. This must be less than or equal to the `to_port`.
     * 
     */
    private Integer fromPort;
    /**
     * @return The upper limit of the port range. This must be greater than or equal to the `from_port`.
     * 
     */
    private Integer toPort;

    private TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort() {}
    /**
     * @return The lower limit of the port range. This must be less than or equal to the `to_port`.
     * 
     */
    public Integer fromPort() {
        return this.fromPort;
    }
    /**
     * @return The upper limit of the port range. This must be greater than or equal to the `from_port`.
     * 
     */
    public Integer toPort() {
        return this.toPort;
    }

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

    public static Builder builder(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer fromPort;
        private Integer toPort;
        public Builder() {}
        public Builder(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.fromPort = defaults.fromPort;
    	      this.toPort = defaults.toPort;
        }

        @CustomType.Setter
        public Builder fromPort(Integer fromPort) {
            if (fromPort == null) {
              throw new MissingRequiredPropertyException("TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort", "fromPort");
            }
            this.fromPort = fromPort;
            return this;
        }
        @CustomType.Setter
        public Builder toPort(Integer toPort) {
            if (toPort == null) {
              throw new MissingRequiredPropertyException("TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort", "toPort");
            }
            this.toPort = toPort;
            return this;
        }
        public TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort build() {
            final var _resultValue = new TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePort();
            _resultValue.fromPort = fromPort;
            _resultValue.toPort = toPort;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy