public Output<PodTemplateSpecArgs> template() {
        return this.template;
    }
@return Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is &#34;Always&#34;.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1/inputs/DeploymentSpecArgs.java