@CustomType.Setter
        public Builder template(PodTemplateSpec template) {
            if (template == null) {
              throw new MissingRequiredPropertyException("DeploymentSpec", "template");
            }
            this.template = template;
            return this;
        }
@return Template describes the pods that will be created.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta2/outputs/DeploymentSpec.java