public Optional<Integer> containerPort() {
        return Optional.ofNullable(this.containerPort);
    }
@return Number of port to expose on the pod&#39;s IP address. This must be a valid port number, 0 &lt; x &lt; 65536.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/ContainerPortPatch.java