// *** 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.servicefabric.outputs;

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

@CustomType
public final class ClusterNodeTypeEphemeralPorts {
    /**
     * @return The end of the Ephemeral Port Range on this Node Type.
     * 
     */
    private Integer endPort;
    /**
     * @return The start of the Ephemeral Port Range on this Node Type.
     * 
     */
    private Integer startPort;

    private ClusterNodeTypeEphemeralPorts() {}
    /**
     * @return The end of the Ephemeral Port Range on this Node Type.
     * 
     */
    public Integer endPort() {
        return this.endPort;
    }
    /**
     * @return The start of the Ephemeral Port Range on this Node Type.
     * 
     */
    public Integer startPort() {
        return this.startPort;
    }

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

    public static Builder builder(ClusterNodeTypeEphemeralPorts defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer endPort;
        private Integer startPort;
        public Builder() {}
        public Builder(ClusterNodeTypeEphemeralPorts defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endPort = defaults.endPort;
    	      this.startPort = defaults.startPort;
        }

        @CustomType.Setter
        public Builder endPort(Integer endPort) {
            this.endPort = Objects.requireNonNull(endPort);
            return this;
        }
        @CustomType.Setter
        public Builder startPort(Integer startPort) {
            this.startPort = Objects.requireNonNull(startPort);
            return this;
        }
        public ClusterNodeTypeEphemeralPorts build() {
            final var o = new ClusterNodeTypeEphemeralPorts();
            o.endPort = endPort;
            o.startPort = startPort;
            return o;
        }
    }
}
