Interface ContainerPortConfiguration.Builder

    • Method Detail

      • containerPortRanges

        ContainerPortConfiguration.Builder containerPortRanges​(Collection<ContainerPortRange> containerPortRanges)

        Specifies one or more ranges of ports on a container. These ranges must not overlap.

        Parameters:
        containerPortRanges - Specifies one or more ranges of ports on a container. These ranges must not overlap.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerPortRanges

        ContainerPortConfiguration.Builder containerPortRanges​(ContainerPortRange... containerPortRanges)

        Specifies one or more ranges of ports on a container. These ranges must not overlap.

        Parameters:
        containerPortRanges - Specifies one or more ranges of ports on a container. These ranges must not overlap.
        Returns:
        Returns a reference to this object so that method calls can be chained together.