public Builder lifecycle(@Nullable Output<LifecyclePatchArgs> lifecycle) {
            $.lifecycle = lifecycle;
            return this;
        }
@param lifecycle Lifecycle is not allowed for ephemeral containers.

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