public Builder spec(@Nullable Output<DeploymentSpecPatchArgs> spec) {
            $.spec = spec;
            return this;
        }
@param spec Specification of the desired behavior of the Deployment.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta1/DeploymentPatchArgs.java