public Optional<String> restartPolicy() {
        return Optional.ofNullable(this.restartPolicy);
    }
@return Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/EphemeralContainerPatch.java