public Builder template(Output<PodTemplateSpecArgs> template) {
            $.template = template;
            return this;
        }
@param template Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is &#34;Always&#34;.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1/inputs/DeploymentSpecArgs.java