public Builder restartPolicy(@Nullable Output<String> restartPolicy) {
            $.restartPolicy = restartPolicy;
            return this;
        }
@param restartPolicy 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.

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