public Optional<PodTemplateSpec> template() {
        return Optional.ofNullable(this.template);
    }
@return Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/PodTemplate.java