public Builder ports(ContainerPortArgs... ports) {
            return ports(List.of(ports));
        }
@param ports Ports are not allowed for ephemeral containers.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/EphemeralContainerArgs.java